X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fclient%2Fcontrol.c;h=d525d56fc5b228da59edb082f0e65a8f8368a698;hb=39a27d187278fc2d0cc05ef2ad59a872c4f19b2b;hp=536c5675bb3e78f7a13af556612031151e778421;hpb=06e80a3d3fa38c2465d58eef1306dfebe4512497;p=plomrogue diff --git a/src/client/control.c b/src/client/control.c index 536c567..d525d56 100644 --- a/src/client/control.c +++ b/src/client/control.c @@ -97,6 +97,8 @@ static uint8_t try_0args(struct Command * command, char * match, void (* f) ()) return 0; } + + static uint8_t try_1args(struct Command * command, char * match, void (* f) (char), char c) { @@ -110,10 +112,6 @@ static uint8_t try_1args(struct Command * command, char * match, -/* If "command" fits pattern "keyb_XY" with Y a proper keybinding list ID char - * and X one of "u" (for "up"), "d" (for "down") or "m" (for "modify"), move up - * or down or modify entry in the selected keybinding list. - */ static uint8_t try_kb_manip(char * command) { char * cmp = "keyb_";