diff options
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/tattoo/tattoo_journal.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/sherlock/tattoo/tattoo_journal.cpp b/engines/sherlock/tattoo/tattoo_journal.cpp index cd8a94a884..737593fa74 100644 --- a/engines/sherlock/tattoo/tattoo_journal.cpp +++ b/engines/sherlock/tattoo/tattoo_journal.cpp @@ -99,6 +99,7 @@ void TattooJournal::show() { // Free the images delete _journalImages; + _journalImages = nullptr; // Reset back to whatever scroll was active for the screen screen._currentScroll = oldScroll; @@ -155,7 +156,7 @@ void TattooJournal::handleKeyboardEvents() { // Scroll Up 1 page drawJournal(1, LINES_PER_PAGE); drawScrollBar(); - show(); + drawJournal(0, 0); screen.slamArea(0, 0, SHERLOCK_SCREEN_WIDTH, SHERLOCK_SCREEN_HEIGHT); _wait = false; } @@ -179,7 +180,7 @@ void TattooJournal::handleKeyboardEvents() { // Scroll down 1 page drawJournal(2, LINES_PER_PAGE); drawScrollBar(); - show(); + drawJournal(0, 0); screen.slamArea(0, 0, SHERLOCK_SCREEN_WIDTH, SHERLOCK_SCREEN_HEIGHT); _wait = false; @@ -273,7 +274,7 @@ void TattooJournal::handleButtons() { else drawJournal(1, 10 * LINES_PER_PAGE); drawScrollBar(); - show(); + drawJournal(0, 0); screen.slamArea(0, 0, SHERLOCK_SCREEN_WIDTH, SHERLOCK_SCREEN_HEIGHT); _wait = false; } |