diff options
author | darkvater <darkvater@openttd.org> | 2005-01-04 21:45:38 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-04 21:45:38 +0000 |
commit | f7f3afb7707561787be13344d5e93e955776f746 (patch) | |
tree | c13d31e3d11372df5f47062767eeeb7f729b35ad /widget.c | |
parent | d63144e8c00ca6776771012dfc2503cc6a671fc1 (diff) | |
download | openttd-f7f3afb7707561787be13344d5e93e955776f746.tar.xz |
(svn r1380) -Fix: missed widget fixes; thanks Jango and TestMan57
Diffstat (limited to 'widget.c')
-rw-r--r-- | widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -337,7 +337,7 @@ void DrawWindowWidgets(Window *w) Point pt; int c1,c2; - assert(r.bottom - r.top == 13); // XXX - to ensure the same sizes are used everywhere! + assert(r.bottom - r.top == 11); // XXX - to ensure the same sizes are used everywhere! DrawFrameRect(r.left, r.top, r.left + 9, r.bottom, wi->color, (w->flags4 & (WF_SCROLL_UP | WF_HSCROLL)) == (WF_SCROLL_UP | WF_HSCROLL) ? 0x20 : 0); DrawFrameRect(r.right-9, r.top, r.right, r.bottom, wi->color, (w->flags4 & (WF_SCROLL_DOWN | WF_HSCROLL)) == (WF_SCROLL_DOWN | WF_HSCROLL) ? 0x20 : 0); |