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:
parent
f81628a466
commit
b7c1209744
@ -92,7 +92,8 @@ prefs_load(void)
|
|||||||
g_string_append(prefs_loc, "/.profanity/config");
|
g_string_append(prefs_loc, "/.profanity/config");
|
||||||
|
|
||||||
prefs = g_key_file_new();
|
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
|
// create the logins searchable list for autocompletion
|
||||||
gsize njids;
|
gsize njids;
|
||||||
|
Loading…
Reference in New Issue
Block a user