---
 wmcalc/wmcalc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wmcalc/wmcalc.c b/wmcalc/wmcalc.c
index 36bca61..3af1d66 100644
--- a/wmcalc/wmcalc.c
+++ b/wmcalc/wmcalc.c
@@ -114,8 +114,8 @@ int main( int argc, char **argv ) {
   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++ ) {
-- 
2.1.0


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to