diff options
author | frosch <frosch@openttd.org> | 2012-04-03 20:09:41 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-04-03 20:09:41 +0000 |
commit | 946749fb0187fae0cd349bd8de054d1241f99eb7 (patch) | |
tree | 5b82b683f88ea91aac81d94a90427ab02d039aaf /src/window_func.h | |
parent | 1e8e911577ec1249cdb0c372608b77b4cf3edafd (diff) | |
download | openttd-946749fb0187fae0cd349bd8de054d1241f99eb7.tar.xz |
(svn r24089) -Fix [FS#5136]: Conflicting strategies for resizing the main toolbar and statusbar after resizing the main window.
Diffstat (limited to 'src/window_func.h')
-rw-r--r-- | src/window_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_func.h b/src/window_func.h index d430c0ccd..704885b9a 100644 --- a/src/window_func.h +++ b/src/window_func.h @@ -19,7 +19,7 @@ Window *FindWindowById(WindowClass cls, WindowNumber number); Window *FindWindowByClass(WindowClass cls); void ChangeWindowOwner(Owner old_owner, Owner new_owner); -void ResizeWindow(Window *w, int x, int y); +void ResizeWindow(Window *w, int x, int y, bool clamp_to_screen = true); int PositionMainToolbar(Window *w); int PositionStatusbar(Window *w); int PositionNewsMessage(Window *w); |