| 1 |
--- |
| 2 |
src/ebook-speaker.c | 6 +++--- |
| 3 |
1 file changed, 3 insertions(+), 3 deletions(-) |
| 4 |
|
| 5 |
--- a/src/ebook-speaker.c |
| 6 |
+++ b/src/ebook-speaker.c |
| 7 |
@@ -251,7 +251,7 @@ void get_next_phrase (misc_t *misc, my_a |
| 8 |
misc->phrase_nr++; |
| 9 |
wattroff (misc->screenwin, A_BOLD); |
| 10 |
strncpy (misc->str, misc->label, 80); |
| 11 |
- mvwprintw (misc->screenwin, 22, 0, misc->str); |
| 12 |
+ mvwprintw (misc->screenwin, 22, 0, "%s", misc->str); |
| 13 |
wclrtoeol (misc->screenwin); |
| 14 |
wmove (misc->screenwin, daisy[misc->current].y, |
| 15 |
daisy[misc->current].x - 1); |
| 16 |
@@ -1708,7 +1708,7 @@ void browse (misc_t *misc, my_attribute_ |
| 17 |
misc->depth = 1; |
| 18 |
nodelay (misc->screenwin, TRUE); |
| 19 |
wclear (misc->titlewin); |
| 20 |
- mvwprintw (misc->titlewin, 0, 0, misc->copyright); |
| 21 |
+ mvwprintw (misc->titlewin, 0, 0, "%s", misc->copyright); |
| 22 |
if ((int) strlen (misc->daisy_title) + |
| 23 |
(int) strlen (misc->copyright) >= misc->max_x) |
| 24 |
{ |
| 25 |
@@ -2571,7 +2571,7 @@ void play_epub (misc_t *misc, my_attribu |
| 26 |
view_screen (misc, daisy); |
| 27 |
|
| 28 |
wclear (misc->titlewin); |
| 29 |
- mvwprintw (misc->titlewin, 0, 0, misc->copyright); |
| 30 |
+ mvwprintw (misc->titlewin, 0, 0, "%s", misc->copyright); |
| 31 |
if ((int) strlen (misc->daisy_title) + (int) |
| 32 |
strlen (misc->copyright) >= misc->max_x) |
| 33 |
mvwprintw (misc->titlewin, 0, misc->max_x - (int) |