Skip to content

Commit

Permalink
Fixed Clear operation #2
Browse files Browse the repository at this point in the history
DivisionByZero needs to be reset for obvious reasons, similar to how it's
done with Clear Entry.
  • Loading branch information
M4444 committed Jun 1, 2018
1 parent 5b97478 commit a07f49d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified dist/C41C.jar
Binary file not shown.
1 change: 1 addition & 0 deletions src/c41c/Window.java
Original file line number Diff line number Diff line change
Expand Up @@ -1638,6 +1638,7 @@ private void BUTTON_ClearActionPerformed(java.awt.event.ActionEvent evt) {//GEN-
Operation = "";
performOperation();
changeAllBits(Operands[Active]);
DivisionByZero = false;

refreshTextArea();
}//GEN-LAST:event_BUTTON_ClearActionPerformed
Expand Down

0 comments on commit a07f49d

Please sign in to comment.