aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz
diff options
context:
space:
mode:
authorPaul Gilbert2019-07-21 11:31:33 -0700
committerPaul Gilbert2019-07-21 11:31:33 -0700
commitb3ab0cf3ce1a650480c7e05af79d4f6b1c516b07 (patch)
tree6776e900506f40f65039370a309e9da2c6d7d6ee /engines/glk/frotz
parent954f5142cb9b1f8b6ea4e608a71b07fdfcc4e8ca (diff)
downloadscummvm-rg350-b3ab0cf3ce1a650480c7e05af79d4f6b1c516b07.tar.gz
scummvm-rg350-b3ab0cf3ce1a650480c7e05af79d4f6b1c516b07.tar.bz2
scummvm-rg350-b3ab0cf3ce1a650480c7e05af79d4f6b1c516b07.zip
JANITORIAL: Glk engine block formatting
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) {