Skip to content

Commit

Permalink
Fix /correction char display
Browse files Browse the repository at this point in the history
1f8b1eb 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.
  • Loading branch information
jubalh committed May 6, 2020
1 parent 85520ec commit 5cf6ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 5cf6ee1

Please sign in to comment.