summaryrefslogtreecommitdiff
path: root/atari/rootwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'atari/rootwin.c')
-rwxr-xr-xatari/rootwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atari/rootwin.c b/atari/rootwin.c
index 544bb8a65..3ef150b6c 100755
--- a/atari/rootwin.c
+++ b/atari/rootwin.c
@@ -663,7 +663,7 @@ void window_open_search(ROOTWIN *rootwin, bool reformat)
obj = toolbar_get_form(rootwin->toolbar);
if (gw->search == NULL) {
- gw->search = nsatari_search_session_create(obj, bw);
+ gw->search = nsatari_search_session_create(obj, gw);
}
toolbar_set_visible(rootwin->toolbar, TOOLBAR_AREA_SEARCH, true);