diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-05-06 13:46:40 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-05-06 13:46:40 +0200 |
commit | 5cf6ee1bc6d0b99b01891bc455a657bf022a72b0 (patch) | |
tree | 1b73703f92049becabfa3101f512dfc0d39e463a /src/ui/console.c | |
parent | 85520ecdc5d2e6ac6654817572b8fd99e43e25d9 (diff) | |
download | profani-tty-5cf6ee1bc6d0b99b01891bc455a657bf022a72b0.tar.gz |
Fix `/correction` char display
https://github.com/profanity-im/profanity/commit/1f8b1eb740391941e79e1004ad041f8178a2b674 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.
Diffstat (limited to 'src/ui/console.c')
-rw-r--r-- | src/ui/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 829870d9..58b33204 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -2046,7 +2046,7 @@ cons_correction_setting(void) } 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); } |