summaryrefslogtreecommitdiff
path: root/tests/unit/gui/test-gui-key.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/gui/test-gui-key.cpp')
-rw-r--r--tests/unit/gui/test-gui-key.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/gui/test-gui-key.cpp b/tests/unit/gui/test-gui-key.cpp
index 02149d8c7..76b3e1055 100644
--- a/tests/unit/gui/test-gui-key.cpp
+++ b/tests/unit/gui/test-gui-key.cpp
@@ -124,6 +124,8 @@ TEST(GuiKey, GetCurrentContext)
input_data (gui_buffers, "/input search_stop", NULL, 0);
LONGS_EQUAL(GUI_KEY_CONTEXT_DEFAULT, gui_key_get_current_context ());
+
+ gui_buffers->text_search_where = 0;
}
/*