aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/frotz')
-rw-r--r--engines/glk/frotz/processor_buffer.cpp3
-rw-r--r--engines/glk/frotz/quetzal.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/engines/glk/frotz/processor_buffer.cpp b/engines/glk/frotz/processor_buffer.cpp
index 9473411b51..734a5309fc 100644
--- a/engines/glk/frotz/processor_buffer.cpp
+++ b/engines/glk/frotz/processor_buffer.cpp
@@ -177,8 +177,7 @@ void Processor::runtimeError(ErrorCode errNum) {
if (_err_report_mode == ERR_REPORT_ONCE) {
print_string(" (will ignore further occurrences)");
- }
- else {
+ } else {
print_string(" (occurence ");
print_long(_errorCount[errNum - 1], 10);
print_char(')');
diff --git a/engines/glk/frotz/quetzal.cpp b/engines/glk/frotz/quetzal.cpp
index 64929c0f5b..79747bde21 100644
--- a/engines/glk/frotz/quetzal.cpp
+++ b/engines/glk/frotz/quetzal.cpp
@@ -78,8 +78,7 @@ bool Quetzal::save(Common::WriteStream *svf, Processor *proc, const Common::Stri
if (c == 0) {
// It's a run of equal bytes
++j;
- }
- else {
+ } else {
// Write out any run there may be.
if (j > 0) {
for (; j > 0x100; j -= 0x100) {