Workaround window corruption on startup

This commit is contained in:
Kevin Lange 2013-05-22 22:59:23 -07:00
parent 5f03b05f46
commit c3995aaa55

View File

@ -345,6 +345,9 @@ void window_add (window_t * window) {
z++;
}
window->z = z;
memset(window->buffer, 0x00, WIN_B * window->width * window->height);
windows[z] = window;
}