fix misplaced tog search prompt in split-screen views
diff --git a/tog/tog.c b/tog/tog.c
index e6738ac..90d2770 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -702,15 +702,11 @@ view_search_start(struct tog_view *view)
const struct got_error *err = NULL;
char pattern[1024];
int ret;
- int begin_x = 0;
if (view->nlines < 1)
return NULL;
- if (!view_is_parent_view(view))
- begin_x = view_split_begin_x(view->begin_x);
- mvwaddstr(view->window, view->begin_y + view->nlines - 1,
- begin_x, "/");
+ mvwaddstr(view->window, view->begin_y + view->nlines - 1, 0, "/");
wclrtoeol(view->window);
nocbreak();