X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=gui.c;h=e41977efa9b90a3afc95b72434de935125c95685;hb=4b22b42cd97e269118e6d4f6e0f4442f098a843f;hp=7507eea4cbe0364f837d94761ae36aa626dddd04;hpb=61a22ff7302998a8ed75a168a2c8147b39508b95;p=paraslash.git diff --git a/gui.c b/gui.c index 7507eea4..e41977ef 100644 --- a/gui.c +++ b/gui.c @@ -887,25 +887,25 @@ static int check_key_map_args(void) for (i = 0; i < conf.key_map_given; ++i) { s = conf.key_map_arg[i]; if (!(*s)) - goto err_out; + goto out; free(tmp); tmp = para_strdup(s); if (!split_key_map(tmp, &handler, &arg)) - goto err_out; + goto out; if (strlen(handler) != 1) - goto err_out; + goto out; if (*handler != 'x' && *handler != 'd' && *handler != 'i' && *handler != 'p') - goto err_out; + goto out; if (*handler != 'i') continue; if (find_cmd_byname(arg) < 0) - goto err_out; + goto out; } ret = 0; -err_out: +out: free(tmp); return ret; }