From f05d81102c263b746c344a71cd3aafdec96d9f38 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 26 Jun 2013 12:58:32 +0200 Subject: updated for version 7.3.1244 Problem: MS-Windows: confirm() dialog text may not fit. Solution: Use GetTextWidthEnc() instead of GetTextWidth(). (Yasuhiro Matsumoto) --- src/gui_w32.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui_w32.c b/src/gui_w32.c index c7a7b605c..5ff619267 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -3216,7 +3216,7 @@ gui_mch_dialog( if (l == 1 && vim_iswhite(*pend) && textWidth > maxDialogWidth * 3 / 4) last_white = pend; - textWidth += GetTextWidth(hdc, pend, l); + textWidth += GetTextWidthEnc(hdc, pend, l); if (textWidth >= maxDialogWidth) { /* Line will wrap. */ diff --git a/src/version.c b/src/version.c index c1cf11ddd..9c646e600 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1244, /**/ 1243, /**/ -- cgit v1.2.1