From: Andre Noll Date: Tue, 13 Mar 2012 21:19:25 +0000 (+0100) Subject: gui: Rename client_cmd_cmdline() to para_cmd(). X-Git-Tag: v0.4.10~1^2~2 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=3367017659e639aa8925ff4c607f1d41d24e657e;ds=sidebyside gui: Rename client_cmd_cmdline() to para_cmd(). The new name is shorter to type and it matches the naming convention of the other command dispatchers, external_cmd() and display_cmd(). --- diff --git a/gui.c b/gui.c index 870e9761..48d4b51b 100644 --- a/gui.c +++ b/gui.c @@ -1072,7 +1072,7 @@ static void send_output(void) print_in_bar(COLOR_MSG, " "); } -static void client_cmd_cmdline(char *cmd) +static void para_cmd(char *cmd) { int ret, fds[3] = {0, 1, 0}; char *c = make_message(BINDIR "/para_client -- %s", cmd); @@ -1434,7 +1434,7 @@ static void handle_command(int c) else if (*handler == 'x') external_cmd(arg); else if (*handler == 'p') - client_cmd_cmdline(arg); + para_cmd(arg); else if (*handler == 'i') { int num = find_cmd_byname(arg); if (num >= 0)