From 85462999a5914e22b89b6804f1c8d577ee494edf Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 21 Sep 1996 04:10:21 +0000 Subject: [PATCH] (read_minibuf): Use FRAME_LEFT_SCROLL_BAR_WIDTH to set the cursor position at the end. --- src/minibuf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.2