diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-04-20 15:54:32 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-04-20 15:54:32 +0200 |
commit | 5db14b2c48ccb9a5f60c7f22b79f90d6145641c7 (patch) | |
tree | 9805d85f9901fb47eaf3ce20a4b6469b843dff23 /src/command | |
parent | 25dbebab174976b71e89212579f0cb04c5184034 (diff) | |
download | profani-tty-5db14b2c48ccb9a5f60c7f22b79f90d6145641c7.tar.gz |
Fix parsing of alias command
This actually only set the local ran pointer to NULL. But we want an effect on the outside variable.
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/cmd_funcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 815f8650..2ad66b5b 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -8082,7 +8082,7 @@ static gboolean _cmd_execute_alias(ProfWin *window, const char *const inp, gboolean *ran) { if (inp[0] != '/') { - ran = FALSE; + *ran = FALSE; return TRUE; } |