about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-04-20 15:54:32 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-04-20 15:54:32 +0200
commit5db14b2c48ccb9a5f60c7f22b79f90d6145641c7 (patch)
tree9805d85f9901fb47eaf3ce20a4b6469b843dff23 /src/command
parent25dbebab174976b71e89212579f0cb04c5184034 (diff)
downloadprofani-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.c2
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;
     }