diff options
Diffstat (limited to 'riscos/gui.c')
-rw-r--r-- | riscos/gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/gui.c b/riscos/gui.c index 559fdc4b9..fcf6f57fc 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -447,7 +447,7 @@ void ro_gui_handle_event(wimp_event_no event, wimp_block *block) break; case wimp_POINTER_LEAVING_WINDOW: - if (over_window == history_window) + if (over_window == (gui_window*)history_window) wimp_close_window(dialog_tooltip); over_window = 0; gui_window_set_pointer(GUI_POINTER_DEFAULT); @@ -456,7 +456,7 @@ void ro_gui_handle_event(wimp_event_no event, wimp_block *block) case wimp_POINTER_ENTERING_WINDOW: over_window = ro_lookup_gui_from_w(block->entering.w); if (over_window == 0 && block->entering.w == history_window) - over_window = history_window; + over_window = (gui_window*)history_window; break; case wimp_MOUSE_CLICK: |