mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 18:36:21 +00:00
Fixed /prefs output when no theme chosen
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user