diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index f37f1d4e976..f034bb203e6 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1069,10 +1069,10 @@ done: | |||
| 1069 | if (! MINI_WINDOW_P (w) | 1069 | if (! MINI_WINDOW_P (w) |
| 1070 | || (w == XWINDOW (minibuf_window) && ! echo_area_glyphs)) | 1070 | || (w == XWINDOW (minibuf_window) && ! echo_area_glyphs)) |
| 1071 | { | 1071 | { |
| 1072 | start = startp; | 1072 | start = startp - BEGV; |
| 1073 | /* I don't think this is guaranteed to be right. For the | 1073 | /* I don't think this is guaranteed to be right. For the |
| 1074 | moment, we'll pretend it is. */ | 1074 | moment, we'll pretend it is. */ |
| 1075 | end = Z - XINT (w->window_end_pos); | 1075 | end = Z - XINT (w->window_end_pos) - BEGV; |
| 1076 | whole = ZV - BEGV; | 1076 | whole = ZV - BEGV; |
| 1077 | 1077 | ||
| 1078 | if (end < start) end = start; | 1078 | if (end < start) end = start; |