Mercurial > vim
comparison src/change.c @ 29660:e134ff00be57 v9.0.0170
patch 9.0.0170: various minor code formatting issues
Commit: https://github.com/vim/vim/commit/113d9dec9958debbae2b611c98aed2f6f23c8502
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 8 15:49:18 2022 +0100
patch 9.0.0170: various minor code formatting issues
Problem: Various minor code formatting issues.
Solution: Improve code formatting.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 08 Aug 2022 17:00:05 +0200 |
parents | 827d9f2b7a71 |
children | d97b2ce26258 |
comparison
equal
deleted
inserted
replaced
29659:2198955f9e27 | 29660:e134ff00be57 |
---|---|
1296 { | 1296 { |
1297 // If we just took off the last character of a non-blank line, and | 1297 // If we just took off the last character of a non-blank line, and |
1298 // fixpos is TRUE, we don't want to end up positioned at the NUL, | 1298 // fixpos is TRUE, we don't want to end up positioned at the NUL, |
1299 // unless "restart_edit" is set or 'virtualedit' contains "onemore". | 1299 // unless "restart_edit" is set or 'virtualedit' contains "onemore". |
1300 if (col > 0 && fixpos && restart_edit == 0 | 1300 if (col > 0 && fixpos && restart_edit == 0 |
1301 && (get_ve_flags() & VE_ONEMORE) == 0) | 1301 && (get_ve_flags() & VE_ONEMORE) == 0) |
1302 { | 1302 { |
1303 --curwin->w_cursor.col; | 1303 --curwin->w_cursor.col; |
1304 curwin->w_cursor.coladd = 0; | 1304 curwin->w_cursor.coladd = 0; |
1305 if (has_mbyte) | 1305 if (has_mbyte) |
1306 curwin->w_cursor.col -= | 1306 curwin->w_cursor.col -= |