1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Comments now kept when writing to config file

This commit is contained in:
James Booth 2012-09-09 22:32:39 +01:00
parent f81628a466
commit b7c1209744

View File

@ -92,7 +92,8 @@ prefs_load(void)
g_string_append(prefs_loc, "/.profanity/config");
prefs = g_key_file_new();
g_key_file_load_from_file(prefs, prefs_loc->str, G_KEY_FILE_NONE, NULL);
g_key_file_load_from_file(prefs, prefs_loc->str, G_KEY_FILE_KEEP_COMMENTS,
NULL);
// create the logins searchable list for autocompletion
gsize njids;