mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
vim-patch:8.0.1726: older MSVC doesn't support declarations halfway a block
Problem: Older MSVC doesn't support declarations halfway a block.
Solution: Move the declaration back to the start of the block.
df2c774ded
This commit is contained in:
@@ -1934,8 +1934,9 @@ void do_wqall(exarg_T *eap)
|
||||
int error = 0;
|
||||
int save_forceit = eap->forceit;
|
||||
|
||||
if (eap->cmdidx == CMD_xall || eap->cmdidx == CMD_wqall)
|
||||
exiting = TRUE;
|
||||
if (eap->cmdidx == CMD_xall || eap->cmdidx == CMD_wqall) {
|
||||
exiting = true;
|
||||
}
|
||||
|
||||
FOR_ALL_BUFFERS(buf) {
|
||||
if (!bufIsChanged(buf)) {
|
||||
|
Reference in New Issue
Block a user