aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/glk_dispa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/glk_dispa.cpp')
-rw-r--r--engines/glk/glk_dispa.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/glk/glk_dispa.cpp b/engines/glk/glk_dispa.cpp
index 2b7108641c..e08064e989 100644
--- a/engines/glk/glk_dispa.cpp
+++ b/engines/glk/glk_dispa.cpp
@@ -1038,8 +1038,7 @@ void GlkAPI::gidispatch_call(uint32 funcnum, uint32 numargs, gluniversal_t *argl
arglist[3]._opaqueref = dat.window;
arglist[4]._uint = dat.val1;
arglist[5]._uint = dat.val2;
- }
- else {
+ } else {
glk_cancel_line_event((Window *)arglist[0]._opaqueref, nullptr);
}
break;
@@ -1308,8 +1307,7 @@ void GlkAPI::gidispatch_call(uint32 funcnum, uint32 numargs, gluniversal_t *argl
arglist[1]._sint = dat.high_sec;
arglist[2]._uint = dat.low_sec;
arglist[3]._sint = dat.microsec;
- }
- else {
+ } else {
glk_current_time(nullptr);
}
break;