Browse Source

Correction on the width of the frame

Olivier Marty 9 years ago
parent
commit
2d460adefa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      printer.c

+ 1 - 1
printer.c

@@ -271,7 +271,7 @@ int printLines(struct printerEnv env, char *text, int gap, int y,
 {
   char *next;
   int size;
-  int width;
+  int width = 0;
   
   next = strchr(text, '\n');
   if(next == NULL)