aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/glk_api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/glk_api.cpp')
-rw-r--r--engines/glk/glk_api.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/glk/glk_api.cpp b/engines/glk/glk_api.cpp
index 2ca81e9297..9d597a4a10 100644
--- a/engines/glk/glk_api.cpp
+++ b/engines/glk/glk_api.cpp
@@ -498,6 +498,9 @@ void GlkAPI::glk_stylehint_set(uint wintype, uint style, uint hint, int val) {
i = val > 0;
styles[style].font = WindowStyle::makeFont(p, b, i);
break;
+
+ default:
+ break;
}
if (wintype == wintype_TextBuffer && style == style_Normal && hint == stylehint_BackColor) {
@@ -551,6 +554,9 @@ void GlkAPI::glk_stylehint_clear(uint wintype, uint style, uint hint) {
case stylehint_Oblique:
styles[style].font = defaults[style].font;
break;
+
+ default:
+ break;
}
}