Pressing PI (Shift ÷) should only lift the stack if the previous operation would allow it.
fixes #4
This commit is contained in:
parent
c6901dc442
commit
9770525dba
@ -128,7 +128,9 @@ void process_cmd(char cmd){
|
||||
//////////
|
||||
case '/':{
|
||||
if (IsShiftedUp){
|
||||
if (NoLift != 1){
|
||||
StackPtr--;
|
||||
}
|
||||
pi_decn();
|
||||
copy_decn(&stack(STACK_X), &AccDecn);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user