mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fixed /prefs output when no theme chosen
This commit is contained in:
parent
921f026cba
commit
b75256fffd
@ -1043,7 +1043,12 @@ cons_prefs(void)
|
|||||||
else
|
else
|
||||||
cons_show("Terminal flash : OFF");
|
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())
|
if (prefs_get_intype())
|
||||||
cons_show("Show typing : ON");
|
cons_show("Show typing : ON");
|
||||||
|
Loading…
Reference in New Issue
Block a user