Commit b58c7806 authored by Alice Mitchell's avatar Alice Mitchell

Initialise previous-colour buffer to prevent random values on line wrap

parent 90a15ab6
Pipeline #555 passed with stage
in 8 minutes and 59 seconds
......@@ -1073,7 +1073,7 @@ void display_message(const char *text, int beeps, int newline)
char outline[MAXTEXTLENGTH];
int olen = 0;
int screen_width = screen_w();
char colr[128];
char colr[128] = {0};
int convert_warnings=0;
int charcount = 0;
bool endline;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment