Patch 8.1.2232

29 views
Skip to first unread message

Bram Moolenaar

unread,
Oct 28, 2019, 7:50:40 PM10/28/19
to vim...@googlegroups.com

Patch 8.1.2232
Problem: MS-Windows: compiler warning for int size.
Solution: Add type cast. (Mike Williams)
Files: src/normal.c


*** ../vim-8.1.2231/src/normal.c 2019-10-28 02:12:32.811459384 +0100
--- src/normal.c 2019-10-29 00:42:40.815263226 +0100
***************
*** 5986,5992 ****
oap->motion_type = MCHAR;
oap->inclusive = FALSE;
if (has_mbyte)
! i = mb_string2cells(ptr, STRLEN(ptr));
else
i = (int)STRLEN(ptr);
if (cap->count0 > 0 && cap->count0 <= 100)
--- 5986,5992 ----
oap->motion_type = MCHAR;
oap->inclusive = FALSE;
if (has_mbyte)
! i = mb_string2cells(ptr, (int)STRLEN(ptr));
else
i = (int)STRLEN(ptr);
if (cap->count0 > 0 && cap->count0 <= 100)
*** ../vim-8.1.2231/src/version.c 2019-10-28 02:12:32.811459384 +0100
--- src/version.c 2019-10-29 00:44:28.898778444 +0100
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 2232,
/**/

--
An operatingsystem is just a name you give to the rest of bloating
idiosyncratic machine-based-features you left out of your editor.
(author unknown)

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Tony Mechelynck

unread,
Oct 28, 2019, 11:50:32 PM10/28/19
to Christian Brabandt, vim_dev, Bram Moolenaar
On Tue, Oct 29, 2019 at 12:50 AM Bram Moolenaar <Br...@moolenaar.net> wrote:
>
>
> Patch 8.1.2232
> Problem: MS-Windows: compiler warning for int size.
> Solution: Add type cast. (Mike Williams)
> Files: src/normal.c

This patch didn't make it to the Mercurial mirror, where 8.1.2231 "not
easy to move to the middle of a text line" is immediately followed by
8.1.2233 "cannot get the Vim command-line arguments". Don't know about
the github master.

Best regards,
Tony.

Tony Mechelynck

unread,
Oct 29, 2019, 12:02:11 AM10/29/19
to Christian Brabandt, vim_dev, Bram Moolenaar
P.S. Changeset v8.1.2233 ads both 2232 and 2233 to the list of patches
in src/version.c. I'll be a crossed-eyed monkey.

Best regards,
Tony.

Christian Brabandt

unread,
Oct 29, 2019, 4:24:51 AM10/29/19
to vim_dev
It's the same on the github repo.

Best,
Christian
--
Disziplin ist die Fähigkeit, dümmer zu erscheinen als der Chef.
-- Hans Schwarz

Bram Moolenaar

unread,
Oct 29, 2019, 11:40:18 PM10/29/19
to vim...@googlegroups.com, Tony Mechelynck, Christian Brabandt, Bram Moolenaar
Somehow the commit for 8.1.2232 failed, and then the next one included
both patches.

--
hundred-and-one symptoms of being an internet addict:
2. You kiss your girlfriend's home page.
Reply all
Reply to author
Forward
0 new messages