From: Bram Moolenaar Date: Sat, 27 Jun 2015 16:34:24 +0000 (+0200) Subject: patch 7.4.762 X-Git-Tag: v7.4.762 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4921c24b3183d6000fdc66684f0752dcf86f48a9;p=vim patch 7.4.762 Problem: Comment for may_req_bg_color() is wrong. (Christ van Willegen) Solution: Rewrite the comment. --- diff --git a/src/term.c b/src/term.c index c48baf6fb..8221e3f06 100644 --- a/src/term.c +++ b/src/term.c @@ -3409,13 +3409,8 @@ may_req_ambiguous_char_width() #if defined(FEAT_TERMRESPONSE) || defined(PROTO) /* - * Check how the terminal treats ambiguous character width (UAX #11). - * First, we move the cursor to (1, 0) and print a test ambiguous character - * \u25bd (WHITE DOWN-POINTING TRIANGLE) and query current cursor position. - * If the terminal treats \u25bd as single width, the position is (1, 1), - * or if it is treated as double width, that will be (1, 2). - * This function has the side effect that changes cursor position, so - * it must be called immediately after entering termcap mode. + * Similar to requesting the version string: Request the terminal background + * color when it is the right moment. */ void may_req_bg_color() diff --git a/src/version.c b/src/version.c index bd6b117aa..9c2d836a7 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 762, /**/ 761, /**/