13 lines
453 B
Diff
13 lines
453 B
Diff
--- wmcalc.c 2001-01-18 07:18:25.000000000 +0100
|
|
+++ wmcalc.c. 2011-04-29 21:31:31.345087537 +0200
|
|
@@ -113,8 +113,8 @@
|
|
strcat(tempfile, CONFTEMPFILE); // Setup name for temp file
|
|
|
|
/* Clear the Calculator Display */
|
|
- for(i=0; i<11; i++) DispString[i] = ' ';
|
|
- DispString[11] = '\0';
|
|
+ for(i=0; i<DISPSIZE; i++) DispString[i] = ' ';
|
|
+ DispString[DISPSIZE] = '\0';
|
|
|
|
/* Parse Command Line Arguments */
|
|
for ( i=1; i < argc; i++ ) {
|