removed strdup in autocomplete calls

This commit is contained in:
Dmitry Podgorny
2013-08-26 03:29:50 +03:00
parent 982f1174a8
commit 545a23e92f
8 changed files with 112 additions and 127 deletions

View File

@@ -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