diff options
author | miham <miham@openttd.org> | 2006-08-02 18:36:53 +0000 |
---|---|---|
committer | miham <miham@openttd.org> | 2006-08-02 18:36:53 +0000 |
commit | 76ea272c9c77f50a8e7bddcdb0990636ad88a3ca (patch) | |
tree | 5808ffc33c21cc65ee80f87219493ff2890ea615 /misc_gui.c | |
parent | 5bcaef5d8640598a5d3252f961bcd16e60bf0efb (diff) | |
download | openttd-76ea272c9c77f50a8e7bddcdb0990636ad88a3ca.tar.xz |
(svn r5714) Backport from branches/TGP (r5701 and r5711)
-Fix: < > boxes in patch-settings didn't grey out when they hit the limit of their range
-Codechange: while at it, prettyfied DrawArrowButtons() a bit
-Fix: < > boxes in industry production window (when cheat enabled) had a minor glitch
Diffstat (limited to 'misc_gui.c')
-rw-r--r-- | misc_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc_gui.c b/misc_gui.c index d17a8aa90..de3b048a8 100644 --- a/misc_gui.c +++ b/misc_gui.c @@ -1776,7 +1776,7 @@ static void CheatsWndProc(Window *w, WindowEvent *e) char buf[512]; /* Draw [<][>] boxes for settings of an integer-type */ - DrawArrowButtons(x + 20, y, 3, clk - (i * 2), true); + DrawArrowButtons(x + 20, y, 3, clk - (i * 2), true, true); switch (ce->str) { /* Display date for change date cheat */ |