wmcalc/wmcalc.patch
Mario Blättermann d746e1a847 Initial commit
2011-07-22 22:34:43 +02:00

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++ ) {