Mercurial > vim
comparison src/window.c @ 22470:f7471450243c v8.2.1783
patch 8.2.1783: try-catch test fails
Commit: https://github.com/vim/vim/commit/bdf931c25b4fe78877106ca529baee7899d0f6a4
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 1 22:37:40 2020 +0200
patch 8.2.1783: try-catch test fails
Problem: Try-catch test fails.
Solution: Don't call win_enter(), only call enterering_window().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 01 Oct 2020 22:45:05 +0200 |
parents | b74bdd85bb26 |
children | e82579016863 |
comparison
equal
deleted
inserted
replaced
22469:fd9b84013893 | 22470:f7471450243c |
---|---|
2225 if (win->w_buffer->b_prompt_insert == NUL) | 2225 if (win->w_buffer->b_prompt_insert == NUL) |
2226 win->w_buffer->b_prompt_insert = 'A'; | 2226 win->w_buffer->b_prompt_insert = 'A'; |
2227 } | 2227 } |
2228 } | 2228 } |
2229 | 2229 |
2230 static void | 2230 void |
2231 entering_window(win_T *win) | 2231 entering_window(win_T *win) |
2232 { | 2232 { |
2233 // Only matters for a prompt window. | 2233 // Only matters for a prompt window. |
2234 if (!bt_prompt(win->w_buffer)) | 2234 if (!bt_prompt(win->w_buffer)) |
2235 return; | 2235 return; |