(svn r3778) - Fix crash when resizing news history window.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
peter1138 19 years ago
parent f2dc736554
commit a172b194c2

@ -7,6 +7,7 @@
#include "table/sprites.h"
#include "table/strings.h"
#include "window.h"
#include "gui.h"
#include "viewport.h"
#include "gfx.h"
#include "news.h"
@ -585,6 +586,7 @@ static void MessageHistoryWndProc(Window *w, WindowEvent *e)
int y = 19;
byte p, show;
SetVScrollCount(w, _total_news);
DrawWindowWidgets(w);
if (_total_news == 0) break;

Loading…
Cancel
Save