aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/window_text_buffer.cpp
diff options
context:
space:
mode:
authorD G Turner2019-12-11 03:09:35 +0000
committerD G Turner2019-12-11 03:09:35 +0000
commit2e91bf0eeabc539c21c205982efd06a52450ab63 (patch)
treedb3c91e372e888a2879d106e39d571987b4d7ede /engines/glk/window_text_buffer.cpp
parent365e9af4f007e9b7a041f2c34f3e883091b7c62c (diff)
downloadscummvm-rg350-2e91bf0eeabc539c21c205982efd06a52450ab63.tar.gz
scummvm-rg350-2e91bf0eeabc539c21c205982efd06a52450ab63.tar.bz2
scummvm-rg350-2e91bf0eeabc539c21c205982efd06a52450ab63.zip
GLK: Fix Missing Default Switch Cases in Engine Base Code
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/glk/window_text_buffer.cpp')
-rw-r--r--engines/glk/window_text_buffer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/glk/window_text_buffer.cpp b/engines/glk/window_text_buffer.cpp
index 6c312be607..6a8bb95195 100644
--- a/engines/glk/window_text_buffer.cpp
+++ b/engines/glk/window_text_buffer.cpp
@@ -1204,6 +1204,8 @@ int TextBufferWindow::acceptScroll(uint arg) {
else
_scrollPos = 0;
break;
+ default:
+ break;
}
if (_scrollPos > _scrollMax - _height + 1)