about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-07-04 00:41:29 +0100
committerJames Booth <boothj5@gmail.com>2016-07-04 00:41:29 +0100
commit71879a3f64f5f04cdceeedf0317175b2bab1701c (patch)
treed97c05b977718ef679892468e449a72972db99ae /src/command
parent606a860bdc2fd93773405655be467064aa949cc6 (diff)
downloadprofani-tty-71879a3f64f5f04cdceeedf0317175b2bab1701c.tar.gz
Free plugins commands on quit
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_funcs.c2
-rw-r--r--src/command/cmd_funcs.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 70365a60..9b7c36a8 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -3809,7 +3809,7 @@ cmd_form(ProfWin *window, const char *const command, gchar **args)
         } else {
             mucconfwin_form_help(confwin);
 
-            const gchar **help_text = NULL;
+            gchar **help_text = NULL;
             Command *command = cmd_get("/form");
 
             if (command) {
diff --git a/src/command/cmd_funcs.h b/src/command/cmd_funcs.h
index 52b9946e..43731050 100644
--- a/src/command/cmd_funcs.h
+++ b/src/command/cmd_funcs.h
@@ -39,11 +39,11 @@
 
 // Command help strings
 typedef struct cmd_help_t {
-    const gchar *tags[20];
-    const gchar *synopsis[50];
-    const gchar *desc;
-    const gchar *args[128][2];
-    const gchar *examples[20];
+    gchar *tags[20];
+    gchar *synopsis[50];
+    gchar *desc;
+    gchar *args[128][2];
+    gchar *examples[20];
 } CommandHelp;
 
 /*