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