1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Fixed /prefs output when no theme chosen

This commit is contained in:
James Booth 2012-11-25 03:26:52 +00:00
parent 921f026cba
commit b75256fffd

View File

@ -1043,7 +1043,12 @@ cons_prefs(void)
else
cons_show("Terminal flash : OFF");
cons_show("Theme : %s", prefs_get_theme());
gchar *theme = prefs_get_theme();
if (theme == NULL) {
cons_show("Theme : default");
} else {
cons_show("Theme : %s", theme);
}
if (prefs_get_intype())
cons_show("Show typing : ON");