summaryrefslogtreecommitdiffstats
path: root/src/os_win32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-05-09 15:00:00 +0100
committerBram Moolenaar <Bram@vim.org>2023-05-09 15:00:00 +0100
commitc9471b18728b1b37c04845ca2bc59fc981308b2d (patch)
treedafcc679138813e74a19d656f7a582d36e9d3ea3 /src/os_win32.c
parentdda01c05c2ded3f0d11703bd983a19b6ca7d5055 (diff)
patch 9.0.1529: code style test doesn't check for space after "if"v9.0.1529
Problem: Code style test doesn't check for space after "if". Solution: Add a test for space.
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index c43a31afcb..869f02f65a 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -6863,7 +6863,7 @@ write_chars(
vim_free(unicodebuf);
unicodebuf = length ? LALLOC_MULT(WCHAR, length) : NULL;
unibuflen = unibuflen ? 0 : length;
- } while(1);
+ } while (TRUE);
cells = mb_string2cells(pchBuf, cbToWrite);
}
else // cbToWrite == 1 && *pchBuf == ' ' && enc_utf8