summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/minibuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index eb670fe0fb2..bd57f6b45a4 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -333,7 +333,8 @@ read_minibuf (map, initial, prompt, backup_n, expflag, histvar, histpos)
>= XFASTINT (XWINDOW (minibuf_window)->top))
&& !noninteractive)
{
- FRAME_CURSOR_X (selected_frame) = 0;
+ FRAME_CURSOR_X (selected_frame)
+ = FRAME_LEFT_SCROLL_BAR_WIDTH (selected_frame);
update_frame (selected_frame, 1, 1);
}