]> git.sur5r.net Git - c128-kasse/commitdiff
print_buffer needs to be larger when we print 80 characters
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 29 Sep 2012 14:24:48 +0000 (16:24 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 29 Sep 2012 14:24:48 +0000 (16:24 +0200)
include/print.h

index 237e9fcfae959df09e89f9d841c4890ac406fd4f..586c708ddbcc97cf1a93c1733c74b8a2fc8d85c6 100644 (file)
@@ -6,11 +6,11 @@ void print_header();
 void log_file(const char *s);
 
 #ifdef _IS_PRINT
-char print_buffer[81];
+char print_buffer[80 + 2 + 1];
 unsigned char log_num = 0;
 int log_lines_written = 0;
 #else
-extern char print_buffer[81];
+extern char print_buffer[80 + 2 + 1];
 extern unsigned char log_num;
 extern int log_lines_written;