summaryrefslogtreecommitdiffstats
path: root/src/gui_w32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-12 20:10:05 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-12 20:10:05 +0100
commit1c46544412382db8b3203d6c78e550df885540bd (patch)
treed4dc51020d3ebdbee4548b0d5628221f921af2f3 /src/gui_w32.c
parent91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f (diff)
patch 8.0.0452: some macros are in lower casev8.0.0452
Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index cd9f31e215..fc566abee9 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -7112,7 +7112,7 @@ gui_mch_dialog(
#else
l = 1;
#endif
- if (l == 1 && vim_iswhite(*pend)
+ if (l == 1 && VIM_ISWHITE(*pend)
&& textWidth > maxDialogWidth * 3 / 4)
last_white = pend;
textWidth += GetTextWidthEnc(hdc, pend, l);
@@ -8581,6 +8581,7 @@ gui_mch_enable_beval_area(BalloonEval *beval)
gui_mch_post_balloon(BalloonEval *beval, char_u *mesg)
{
POINT pt;
+
// TRACE0("gui_mch_post_balloon {{{");
if (beval->showState == ShS_SHOWING)
return;
@@ -8588,8 +8589,8 @@ gui_mch_post_balloon(BalloonEval *beval, char_u *mesg)
ScreenToClient(s_textArea, &pt);
if (abs(beval->x - pt.x) < 3 && abs(beval->y - pt.y) < 3)
- /* cursor is still here */
{
+ /* cursor is still here */
gui_mch_disable_beval_area(cur_beval);
beval->showState = ShS_SHOWING;
make_tooltip(beval, (char *)mesg, pt);