diff options
author | belugas <belugas@openttd.org> | 2006-10-03 02:08:15 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-10-03 02:08:15 +0000 |
commit | 753b5724001079c3352d23a911488044884dcf5b (patch) | |
tree | dc2a5593c6d3da96528beb914da8807aea2325e7 /smallmap_gui.c | |
parent | e383584988a99dbdfbcd4a63b1f11213a4274355 (diff) | |
download | openttd-753b5724001079c3352d23a911488044884dcf5b.tar.xz |
(svn r6619) -Codechange: Use accessors for disabled_state.
Another step toward merging XTDwidget.
The only two files not converted (window.h and widget.c) will be done at the very last commit)
Diffstat (limited to 'smallmap_gui.c')
-rw-r--r-- | smallmap_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smallmap_gui.c b/smallmap_gui.c index 248b2c604..d08f772a1 100644 --- a/smallmap_gui.c +++ b/smallmap_gui.c @@ -1010,7 +1010,7 @@ static void ExtraViewPortWndProc(Window *w, WindowEvent *e) { switch (e->event) { case WE_CREATE: /* Disable zoom in button */ - w->disabled_state = (1 << 5); + DisableWindowWidget(w, 5); break; case WE_PAINT: |