13
0

ftm-bindings tool: strip whitespace in input files

This commit is contained in:
Ben Loftis 2022-06-05 19:26:45 -05:00
parent 7225773660
commit 0fda55e4fe

View File

@ -258,6 +258,9 @@ while (<SOURCE>) {
$gkey =~ s/^-//;
$owner = $group_owners{$gkey};
# strip white space from the binding; this allows reformatting the input file for legibility
$binding =~ s/^\s+|\s+$//g;
# substitute bindings
$gtk_binding = $binding;