aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-04-22 00:49:39 +0200
committerAdrian Frühwirth2018-04-22 00:56:21 +0200
commita20f90cbb7bfd61ee32ccd32603766de02c03ac8 (patch)
tree584197b20b101d746b64a20e3f1073b4b8808bb7 /engines/supernova
parentdd425413b5c69861fffe0071e6ca74b33a78c341 (diff)
downloadscummvm-rg350-a20f90cbb7bfd61ee32ccd32603766de02c03ac8.tar.gz
scummvm-rg350-a20f90cbb7bfd61ee32ccd32603766de02c03ac8.tar.bz2
scummvm-rg350-a20f90cbb7bfd61ee32ccd32603766de02c03ac8.zip
JANITORIAL: Fix formatting
Diffstat (limited to 'engines/supernova')
-rw-r--r--engines/supernova/state.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp
index 00a35055b7..f50d665000 100644
--- a/engines/supernova/state.cpp
+++ b/engines/supernova/state.cpp
@@ -876,9 +876,9 @@ void GameManager::telomat(int nr) {
_vm->renderBox(0, 0, 320, 200, kColorDarkBlue);
_vm->renderText(kStringTelomat12, 50, 80, kColorGreen);
_vm->renderText(kStringTelomat13, 50, 91, kColorGreen);
- do
+ do {
edit(input, 50, 105, 30);
- while ((_key.keycode != Common::KEYCODE_RETURN) && (_key.keycode != Common::KEYCODE_ESCAPE));
+ } while ((_key.keycode != Common::KEYCODE_RETURN) && (_key.keycode != Common::KEYCODE_ESCAPE));
if (_key.keycode == Common::KEYCODE_ESCAPE) {
_vm->renderBox(0, 0, 320, 200, kColorBlack);
@@ -966,9 +966,9 @@ void GameManager::telomat(int nr) {
_vm->renderBox(0, 0, 320, 200, kColorDarkBlue);
_vm->renderText(kStringTelomat21, 100, 90, kColorGreen);
input = "";
- do
+ do {
edit(input, 100, 105, 30);
- while ((_key.keycode != Common::KEYCODE_RETURN) && (_key.keycode != Common::KEYCODE_ESCAPE));
+ } while ((_key.keycode != Common::KEYCODE_RETURN) && (_key.keycode != Common::KEYCODE_ESCAPE));
if (_key.keycode == Common::KEYCODE_RETURN) {
_vm->renderText(kStringShipSleepCabin9, 100, 120, kColorGreen);