From abd8e3d6c579042e3d85b0a33bf203a080fc6b99 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 20 Dec 2019 10:05:58 +0100 Subject: [PATCH] Adjust /color configuration output Fix https://github.com/profanity-im/profanity/issues/1243 --- src/ui/console.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/ui/console.c b/src/ui/console.c index d3e99570..ba9bf70c 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -1974,32 +1974,32 @@ cons_color_setting(void) char *color_pref = prefs_get_string(PREF_COLOR_NICK); if (!color_pref) { - cons_show("Consistent color generation for nicks (/color) : OFF"); + cons_show("Consistent color generation for nicks (/color) : OFF"); return; } if (strcmp(color_pref, "true") == 0) { - cons_show("Consistent color generation for nicks (/color) : ON"); + cons_show("Consistent color generation for nicks (/color) : ON"); } else if (strcmp(color_pref, "redgreen") == 0) { - cons_show("Consistent color generation for nicks (/color) : REDGREEN"); + cons_show("Consistent color generation for nicks (/color) : REDGREEN"); } else if (strcmp(color_pref, "blue") == 0) { - cons_show("Consistent color generation for nicks (/color) : BLUE"); + cons_show("Consistent color generation for nicks (/color) : BLUE"); } else { - cons_show("Consistent color generation for nicks (/color) : OFF"); + cons_show("Consistent color generation for nicks (/color) : OFF"); } prefs_free_string(color_pref); if (prefs_get_boolean(PREF_ROSTER_COLOR_NICK)) { - cons_show("Consistent color generation in roster (/roster) : ON"); + cons_show("Consistent color generation in roster (/roster color) : ON"); } else { - cons_show("Consistent color generation in roster (/roster) : OFF"); + cons_show("Consistent color generation in roster (/roster color) : OFF"); } if (prefs_get_boolean(PREF_OCCUPANTS_COLOR_NICK)) { - cons_show("Consistent color generation for occupants (/occupants) : ON"); + cons_show("Consistent color generation for occupants (/occupants color) : ON"); } else { - cons_show("Consistent color generation for occupants (/occupants) : OFF"); + cons_show("Consistent color generation for occupants (/occupants color) : OFF"); } }