summaryrefslogtreecommitdiff
path: root/smallmap_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'smallmap_gui.c')
-rw-r--r--smallmap_gui.c2
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: