diff options
author | Gavin D. Howard <gavin@gavinhoward.com> | 2023-05-03 17:17:01 -0600 |
---|---|---|
committer | Gavin D. Howard <gavin@gavinhoward.com> | 2023-05-03 17:17:01 -0600 |
commit | c5e2018ba996b619843fc3818b1acc88313be797 (patch) | |
tree | 8c73fa547601923ebdb9d22999fac65b27f5797b | |
parent | c50b62f13b0442197d23dab2762457ed3a3684a4 (diff) | |
download | bc-c5e2018ba996b619843fc3818b1acc88313be797.tar.gz |
Fix style
Signed-off-by: Gavin D. Howard <gavin@gavinhoward.com>
-rw-r--r-- | src/program.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/program.c b/src/program.c index 243f827f..2f265891 100644 --- a/src/program.c +++ b/src/program.c @@ -2703,12 +2703,21 @@ bc_program_globalSetting(BcProgram* p, uchar inst) assert(inst >= BC_INST_LINE_LENGTH && inst <= BC_INST_LEADING_ZERO); #endif // DC_ENABLED - if (inst == BC_INST_LINE_LENGTH) val = (BcBigDig) vm->line_len; + if (inst == BC_INST_LINE_LENGTH) + { + val = (BcBigDig) vm->line_len; + } #if BC_ENABLED - else if (inst == BC_INST_GLOBAL_STACKS) val = (BC_G != 0); + else if (inst == BC_INST_GLOBAL_STACKS) + { + val = (BC_G != 0); + } #endif // BC_ENABLED #if DC_ENABLED - else if (inst == BC_INST_EXTENDED_REGISTERS) val = (DC_X != 0); + else if (inst == BC_INST_EXTENDED_REGISTERS) + { + val = (DC_X != 0); + } #endif // DC_ENABLED else val = (BC_Z != 0); |