hunspell/Werror-format-security.patch
2022-08-02 09:30:48 +01:00

12 lines
329 B
Diff

--- a/src/tools/hunspell.cxx 2022-08-02 09:18:13.525748669 +0100
+++ b/src/tools/hunspell.cxx 2022-08-02 09:18:38.598006933 +0100
@@ -581,7 +581,7 @@
#ifdef HAVE_CURSES_H
char* scanline(char* message) {
char input[INPUTLEN];
- printw(message);
+ printw("%s", message);
echo();
getnstr(input, INPUTLEN);
noecho();