[mw-devel] [Git][milliways/mw][master] Initialise previous-colour buffer to prevent random values on line wrap
Alice Mitchell
alice at sucs.org
Thu Apr 4 22:02:35 BST 2019
Alice Mitchell pushed to branch master at milliways / mw
Commits:
b58c7806 by Alice Mitchell at 2019-04-04T21:02:06Z
Initialise previous-colour buffer to prevent random values on line wrap
- - - - -
1 changed file:
- src/client/main.c
Changes:
=====================================
src/client/main.c
=====================================
@@ -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;
View it on GitLab: https://projects.sucs.org/milliways/mw/commit/b58c7806df31e063196110866fb41cdfd93f9787
--
View it on GitLab: https://projects.sucs.org/milliways/mw/commit/b58c7806df31e063196110866fb41cdfd93f9787
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20190404/90c74f54/attachment.html>
More information about the mw-devel
mailing list