about summary refs log tree commit diff stats
path: root/src/config/preferences.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-08-26 14:52:14 +0100
committerJames Booth <boothj5@gmail.com>2013-08-26 14:52:14 +0100
commit080515fe85090d1fb1d7bbeec049755e228df790 (patch)
tree9db06e49352e275de151b22353644450ad03bd3a /src/config/preferences.c
parent550071afded1464dc04cba856bed4687a8a968a4 (diff)
parent70bbc2e34474d9a466707d90c5d56666cf27b3ae (diff)
downloadprofani-tty-080515fe85090d1fb1d7bbeec049755e228df790.tar.gz
Merge branch 'master' into otr
Diffstat (limited to 'src/config/preferences.c')
-rw-r--r--src/config/preferences.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index fe34e00e..1d417e41 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -77,8 +77,8 @@ prefs_load(void)
     }
 
     boolean_choice_ac = autocomplete_new();
-    autocomplete_add(boolean_choice_ac, strdup("on"));
-    autocomplete_add(boolean_choice_ac, strdup("off"));
+    autocomplete_add(boolean_choice_ac, "on");
+    autocomplete_add(boolean_choice_ac, "off");
 }
 
 void