mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-03 04:14:20 +01:00
There's no need to have a private function while there's one in WINGs. Besides that, it does not remove trailing whitespaces appropriately as I just tested by adding trailing space in the shortcut captured by WPrefs. It is not trimmed before saving it: [mafra@Pilar:Defaults]$ grep CloseKey WindowMaker CloseKey = "Mod1+C "; Using wtrimspace() fixes that and even saves 208 bytes of code: [mafra@Pilar:WPrefs.app]$ size KeyboardShortcuts.o.* text data bss dec hex filename 7703 0 0 7703 1e17 KeyboardShortcuts.o.new 7911 0 0 7911 1ee7 KeyboardShortcuts.o.old Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
18 KiB
18 KiB