summaryrefslogtreecommitdiff
path: root/src/misc_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc_cmd.cpp')
-rw-r--r--src/misc_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc_cmd.cpp b/src/misc_cmd.cpp
index 192fe4e72..a3428d356 100644
--- a/src/misc_cmd.cpp
+++ b/src/misc_cmd.cpp
@@ -354,8 +354,8 @@ CommandCost CmdPause(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2,
}
}
- InvalidateWindow(WC_STATUS_BAR, 0);
- InvalidateWindow(WC_MAIN_TOOLBAR, 0);
+ SetWindowDirty(WC_STATUS_BAR, 0);
+ SetWindowDirty(WC_MAIN_TOOLBAR, 0);
}
return CommandCost();
}