]> git.earman.xyz Git - sensor-watch.git/commitdiff
negative toggle was only for first_num -- fixed
authormcguirepr89 <mcguirepr89@gmail.com>
Sat, 31 Aug 2024 21:47:15 +0000 (17:47 -0400)
committermcguirepr89 <mcguirepr89@gmail.com>
Sat, 31 Aug 2024 21:47:15 +0000 (17:47 -0400)
movement/watch_faces/complication/simple_calculator_face.c

index 95804ced7bf730b31e91c1731575d026b42d5cfa..3542590dacad187159742ebdb3448db06f7184f2 100644 (file)
@@ -321,7 +321,7 @@ bool simple_calculator_face_loop(movement_event_t event, movement_settings_t *se
                     break;
                 case MODE_ENTERING_SECOND_NUM:
                     // toggle negative on state->second_num
-                    state->first_num.negative = !state->first_num.negative;
+                    state->second_num.negative = !state->second_num.negative;
                     break;
                 case MODE_ERROR:
                     reset_from_error(state);