diff options
author | rubidium <rubidium@openttd.org> | 2007-10-05 21:31:59 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-10-05 21:31:59 +0000 |
commit | 5ab042668030cd48a594a8367a894a7574f80fba (patch) | |
tree | d84ad1060cdd9dc9ae6fb1314f715040b803e85a | |
parent | c30544f8bc2603823497bbadcbd12331ab5980f7 (diff) | |
download | openttd-5ab042668030cd48a594a8367a894a7574f80fba.tar.xz |
(svn r11211) -Fix [FS#1302]: NewGRF GUI scrollbar does funny things when being resized.
-rw-r--r-- | src/newgrf_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 224236a0a..453673fc5 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -515,6 +515,7 @@ static void NewGRFWndProc(Window *w, WindowEvent *e) case WE_RESIZE: w->vscroll.cap += e->we.sizing.diff.y / 14; w->widget[SNGRFS_FILE_LIST].data = (w->vscroll.cap << 8) + 1; + SetupNewGRFWindow(w); break; } } |