From: Michael Stapelberg Date: Sat, 29 Sep 2012 14:24:48 +0000 (+0200) Subject: print_buffer needs to be larger when we print 80 characters X-Git-Tag: rgb2rv9~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5a5488ecca0d7a5b5b03880fcb90cccd197fe9c9;p=c128-kasse print_buffer needs to be larger when we print 80 characters --- diff --git a/include/print.h b/include/print.h index 237e9fc..586c708 100644 --- a/include/print.h +++ b/include/print.h @@ -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;