GLK: Fix Missing Default Switch Cases in Engine Base Code

These are flagged by GCC if -Wswitch-default is enabled.
This commit is contained in:
D G Turner 2019-12-11 03:09:35 +00:00
parent 365e9af4f0
commit 2e91bf0eea
3 changed files with 10 additions and 0 deletions

View file

@ -1204,6 +1204,8 @@ int TextBufferWindow::acceptScroll(uint arg) {
else
_scrollPos = 0;
break;
default:
break;
}
if (_scrollPos > _scrollMax - _height + 1)