From: Bram Moolenaar Date: Tue, 23 Mar 2010 12:56:59 +0000 (+0100) Subject: updated for version 7.2.404 X-Git-Tag: v7.2.404 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=216b71069ab33a77a5c2899ce9b0c11423a85ade;p=vim updated for version 7.2.404 Problem: Pointers for composing characters are not properly initialized. Solution: Compute the size of the pointer, not what it points to. (Yukihiro Nakadaira) --- diff --git a/src/screen.c b/src/screen.c index 7cd72bdce..870d89af7 100644 --- a/src/screen.c +++ b/src/screen.c @@ -7536,7 +7536,7 @@ retry: new_ScreenLines = (schar_T *)lalloc((long_u)( (Rows + 1) * Columns * sizeof(schar_T)), FALSE); #ifdef FEAT_MBYTE - vim_memset(new_ScreenLinesC, 0, sizeof(u8char_T) * MAX_MCO); + vim_memset(new_ScreenLinesC, 0, sizeof(u8char_T *) * MAX_MCO); if (enc_utf8) { new_ScreenLinesUC = (u8char_T *)lalloc((long_u)( diff --git a/src/version.c b/src/version.c index 12174c7ae..25f10a355 100644 --- a/src/version.c +++ b/src/version.c @@ -681,6 +681,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 404, /**/ 403, /**/