summaryrefslogtreecommitdiffstats
path: root/src/os_win32.c
diff options
context:
space:
mode:
authorK.Takata <kentkt@csc.jp>2022-11-14 15:31:07 +0000
committerBram Moolenaar <Bram@vim.org>2022-11-14 15:31:07 +0000
commit161b6ac04f257ab17779e9ba6f5b3e3e15d2a0fd (patch)
treef2d7046311159ccfdc94f337addac087d92478bf /src/os_win32.c
parentdcbdd82d059a9b621e09f4447446a92ae2562e16 (diff)
patch 9.0.0880: preprocessor indenting is offv9.0.0880
Problem: Preprocessor indenting is off. Solution: Adjust preprocessor indentation. (Ken Takata, closes #11546)
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index c68a9732bd..36051f4852 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -1262,7 +1262,7 @@ decode_mouse_wheel(MOUSE_EVENT_RECORD *pmer)
g_xMouse = pmer->dwMousePosition.X;
g_yMouse = pmer->dwMousePosition.Y;
-#ifdef FEAT_PROP_POPUP
+# ifdef FEAT_PROP_POPUP
int lcol = g_xMouse;
int lrow = g_yMouse;
win_T *wp = mouse_find_win(&lrow, &lcol, FIND_POPUP);
@@ -1294,7 +1294,7 @@ decode_mouse_wheel(MOUSE_EVENT_RECORD *pmer)
out_flush();
return;
}
-#endif
+# endif
mouse_col = g_xMouse;
mouse_row = g_yMouse;
@@ -6059,9 +6059,9 @@ insert_lines(unsigned cLines)
fill.Char.AsciiChar = ' ';
if (!(vtp_working
-#ifdef FEAT_TERMGUICOLORS
+# ifdef FEAT_TERMGUICOLORS
&& (p_tgc || t_colors >= 256)
-#endif
+# endif
))
fill.Attributes = g_attrCurrent;
else
@@ -6187,9 +6187,9 @@ gotoxy(
return;
if (!(vtp_working
-#ifdef FEAT_TERMGUICOLORS
+# ifdef FEAT_TERMGUICOLORS
&& (p_tgc || t_colors >= 256)
-#endif
+# endif
))
{
// There are reports of double-width characters not displayed
@@ -6435,9 +6435,9 @@ write_chars(
}
if (!(vtp_working
-#ifdef FEAT_TERMGUICOLORS
+# ifdef FEAT_TERMGUICOLORS
&& (p_tgc || t_colors >= 256)
-#endif
+# endif
))
{
FillConsoleOutputAttribute(g_hConOut, g_attrCurrent, cells,
@@ -6479,9 +6479,9 @@ write_chars(
// Cursor under VTP is always in the correct position, no need to reset.
if (!(vtp_working
-#ifdef FEAT_TERMGUICOLORS
+# ifdef FEAT_TERMGUICOLORS
&& (p_tgc || t_colors >= 256)
-#endif
+# endif
))
gotoxy(g_coord.X + 1, g_coord.Y + 1);