mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
GLK: Fix bad indentation
Reported by GCC 12: ../scummvm/engines/glk/zcode/processor.cpp: In member function 'void Glk::ZCode::Processor::call(Glk::ZCode::zword, int, Glk::ZCode::zword*, int)': ../scummvm/engines/glk/zcode/processor.cpp:349:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 349 | if (h_version <= V4) // V1 to V4 games provide default | ^~ ../scummvm/engines/glk/zcode/processor.cpp:352:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 352 | *--_sp = (zword)((argc-- > 0) ? args[i] : value); | ^
This commit is contained in:
parent
3cd8075771
commit
5c0af779ca
@ -349,7 +349,7 @@ void Processor::call(zword routine, int argc, zword *args, int ct) {
|
||||
if (h_version <= V4) // V1 to V4 games provide default
|
||||
CODE_WORD(value); // values for all local variables
|
||||
|
||||
*--_sp = (zword)((argc-- > 0) ? args[i] : value);
|
||||
*--_sp = (zword)((argc-- > 0) ? args[i] : value);
|
||||
}
|
||||
|
||||
// Start main loop for direct calls
|
||||
|
Loading…
Reference in New Issue
Block a user