gui.c: Constify argument to find_cmd_byname().
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 18 Mar 2016 22:46:24 +0000 (23:46 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 18 Mar 2016 22:46:24 +0000 (23:46 +0100)
gui.c

diff --git a/gui.c b/gui.c
index bb1625d..b0eae64 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -146,7 +146,7 @@ struct exec_task {
        unsigned flags[2]; /* passed to for_each_line() */
 };
 
-static int find_cmd_byname(char *name)
+static int find_cmd_byname(const char *name)
 {
        int i;