diff options
author | D G Turner | 2019-12-01 15:11:36 +0000 |
---|---|---|
committer | D G Turner | 2019-12-01 15:11:36 +0000 |
commit | f26bb57ef85368ae392fef129cf96b723a1e1b3d (patch) | |
tree | 82ea8cf1a73671e2d35f0d4dfd227af41dcf8edb /engines/saga/font.cpp | |
parent | 7b275b454c1c143d97d238086ab3797f76576872 (diff) | |
download | scummvm-rg350-f26bb57ef85368ae392fef129cf96b723a1e1b3d.tar.gz scummvm-rg350-f26bb57ef85368ae392fef129cf96b723a1e1b3d.tar.bz2 scummvm-rg350-f26bb57ef85368ae392fef129cf96b723a1e1b3d.zip |
SAGA: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/saga/font.cpp')
-rw-r--r-- | engines/saga/font.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/saga/font.cpp b/engines/saga/font.cpp index 66a4e1c530..b69f237106 100644 --- a/engines/saga/font.cpp +++ b/engines/saga/font.cpp @@ -656,6 +656,7 @@ Font::FontId Font::knownFont2FontIdx(KnownFont font) { if (_vm->getGameId() == GID_ITE || _vm->isIHNMDemo()) { switch (font) { case (kKnownFontSmall): + default: fontId = kSmallFont; break; case (kKnownFontMedium): @@ -679,6 +680,7 @@ Font::FontId Font::knownFont2FontIdx(KnownFont font) { } else if (_vm->getGameId() == GID_IHNM && !_vm->isIHNMDemo()) { switch (font) { case (kKnownFontSmall): + default: fontId = kSmallFont; break; case (kKnownFontMedium): |