|
Karsten Hopp |
77c235 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
77c235 |
Subject: Patch 7.3.580
|
|
Karsten Hopp |
77c235 |
Fcc: outbox
|
|
Karsten Hopp |
77c235 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
77c235 |
Mime-Version: 1.0
|
|
Karsten Hopp |
77c235 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
77c235 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
77c235 |
------------
|
|
Karsten Hopp |
77c235 |
|
|
Karsten Hopp |
77c235 |
Patch 7.3.580
|
|
Karsten Hopp |
77c235 |
Problem: Warning on 64 bit MS-Windows.
|
|
Karsten Hopp |
77c235 |
Solution: Add type cast. (Mike Williams)
|
|
Karsten Hopp |
77c235 |
Files: src/if_py_both.h
|
|
Karsten Hopp |
77c235 |
|
|
Karsten Hopp |
77c235 |
|
|
Karsten Hopp |
77c235 |
*** ../vim-7.3.579/src/if_py_both.h 2012-06-29 16:28:23.000000000 +0200
|
|
Karsten Hopp |
77c235 |
--- src/if_py_both.h 2012-06-29 17:49:59.000000000 +0200
|
|
Karsten Hopp |
77c235 |
***************
|
|
Karsten Hopp |
77c235 |
*** 495,501 ****
|
|
Karsten Hopp |
77c235 |
if (!PyArg_ParseTuple(args, "s", &expr))
|
|
Karsten Hopp |
77c235 |
return NULL;
|
|
Karsten Hopp |
77c235 |
|
|
Karsten Hopp |
77c235 |
! return PyLong_FromLong(mb_string2cells((char_u *)expr, STRLEN(expr)));
|
|
Karsten Hopp |
77c235 |
}
|
|
Karsten Hopp |
77c235 |
|
|
Karsten Hopp |
77c235 |
/*
|
|
Karsten Hopp |
77c235 |
--- 495,501 ----
|
|
Karsten Hopp |
77c235 |
if (!PyArg_ParseTuple(args, "s", &expr))
|
|
Karsten Hopp |
77c235 |
return NULL;
|
|
Karsten Hopp |
77c235 |
|
|
Karsten Hopp |
77c235 |
! return PyLong_FromLong(mb_string2cells((char_u *)expr, (int)STRLEN(expr)));
|
|
Karsten Hopp |
77c235 |
}
|
|
Karsten Hopp |
77c235 |
|
|
Karsten Hopp |
77c235 |
/*
|
|
Karsten Hopp |
77c235 |
*** ../vim-7.3.579/src/version.c 2012-06-29 16:28:23.000000000 +0200
|
|
Karsten Hopp |
77c235 |
--- src/version.c 2012-06-29 17:50:36.000000000 +0200
|
|
Karsten Hopp |
77c235 |
***************
|
|
Karsten Hopp |
77c235 |
*** 716,717 ****
|
|
Karsten Hopp |
77c235 |
--- 716,719 ----
|
|
Karsten Hopp |
77c235 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
77c235 |
+ /**/
|
|
Karsten Hopp |
77c235 |
+ 580,
|
|
Karsten Hopp |
77c235 |
/**/
|
|
Karsten Hopp |
77c235 |
|
|
Karsten Hopp |
77c235 |
--
|
|
Karsten Hopp |
77c235 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
77c235 |
79. All of your most erotic dreams have a scrollbar at the right side.
|
|
Karsten Hopp |
77c235 |
|
|
Karsten Hopp |
77c235 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
77c235 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
77c235 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
77c235 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|