aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin D. Howard <gavin@gavinhoward.com>2023-05-03 17:17:01 -0600
committerGavin D. Howard <gavin@gavinhoward.com>2023-05-03 17:17:01 -0600
commitc5e2018ba996b619843fc3818b1acc88313be797 (patch)
tree8c73fa547601923ebdb9d22999fac65b27f5797b
parentc50b62f13b0442197d23dab2762457ed3a3684a4 (diff)
downloadbc-c5e2018ba996b619843fc3818b1acc88313be797.tar.gz
Fix style
Signed-off-by: Gavin D. Howard <gavin@gavinhoward.com>
-rw-r--r--src/program.c15
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);