1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Fix /correction char display

1f8b1eb740 made it possible to have utf8 chars as correction chars. So since then prefs_get_correction_char() doesn't return a regular char but a char*.
Seems like there was an oversight that we need to use %s then.
This commit is contained in:
Michael Vetter 2020-05-06 13:46:40 +02:00
parent 85520ecdc5
commit 5cf6ee1bc6

View File

@ -2046,7 +2046,7 @@ cons_correction_setting(void)
} }
char *cc = prefs_get_correction_char(); char *cc = prefs_get_correction_char();
cons_show("LMC indication char (/correction char) : %c", cc); cons_show("LMC indication char (/correction char) : %s", cc);
free(cc); free(cc);
} }