summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
Diffstat (limited to 'math.c')
-rw-r--r--math.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/math.c b/math.c
index e74cca6..ff2db17 100644
--- a/math.c
+++ b/math.c
@@ -761,13 +761,12 @@ void
offf(void)
{
/* full reset */
- int i;
ResetCalc();
entered=clrdisp=1;
lift_enabled = 0;
dnum=mem[0]=0.0;
if (rpn)
- for (i=1; i < XCALC_MEMORY; i++)
+ for (int i=1; i < XCALC_MEMORY; i++)
mem[i]=0.0;
exponent=Dpoint=0;
DrawDisplay();