ftm-bindings tool: strip whitespace in input files
This commit is contained in:
parent
7225773660
commit
0fda55e4fe
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user