mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Comments now kept when writing to config file
This commit is contained in:
parent
f81628a466
commit
b7c1209744
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user