]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 bb1625d795d6d4b1542758190fc3c30eb2ec2998..b0eae64ae129999083263846d60a9bfd939aae2e 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;