|
Karsten Hopp |
21b16a |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
21b16a |
Subject: Patch 7.3.1208
|
|
Karsten Hopp |
21b16a |
Fcc: outbox
|
|
Karsten Hopp |
21b16a |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
21b16a |
Mime-Version: 1.0
|
|
Karsten Hopp |
21b16a |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
21b16a |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
21b16a |
------------
|
|
Karsten Hopp |
21b16a |
|
|
Karsten Hopp |
21b16a |
Patch 7.3.1208
|
|
Karsten Hopp |
21b16a |
Problem: Compiler warnings on MS-Windows.
|
|
Karsten Hopp |
21b16a |
Solution: Add type cast. Move variable declaration. (Mike Williams)
|
|
Karsten Hopp |
21b16a |
Files: src/option.c, src/os_mswin.c
|
|
Karsten Hopp |
21b16a |
|
|
Karsten Hopp |
21b16a |
|
|
Karsten Hopp |
21b16a |
*** ../vim-7.3.1207/src/option.c 2013-06-08 18:19:40.000000000 +0200
|
|
Karsten Hopp |
21b16a |
--- src/option.c 2013-06-16 15:59:00.000000000 +0200
|
|
Karsten Hopp |
21b16a |
***************
|
|
Karsten Hopp |
21b16a |
*** 3181,3187 ****
|
|
Karsten Hopp |
21b16a |
if (opt_idx >= 0)
|
|
Karsten Hopp |
21b16a |
{
|
|
Karsten Hopp |
21b16a |
#if !defined(HAVE_AVAIL_MEM) && !defined(HAVE_TOTAL_MEM)
|
|
Karsten Hopp |
21b16a |
! if ((long)options[opt_idx].def_val[VI_DEFAULT] > n
|
|
Karsten Hopp |
21b16a |
|| (long)options[opt_idx].def_val[VI_DEFAULT] == 0L)
|
|
Karsten Hopp |
21b16a |
#endif
|
|
Karsten Hopp |
21b16a |
options[opt_idx].def_val[VI_DEFAULT] = (char_u *)n;
|
|
Karsten Hopp |
21b16a |
--- 3181,3187 ----
|
|
Karsten Hopp |
21b16a |
if (opt_idx >= 0)
|
|
Karsten Hopp |
21b16a |
{
|
|
Karsten Hopp |
21b16a |
#if !defined(HAVE_AVAIL_MEM) && !defined(HAVE_TOTAL_MEM)
|
|
Karsten Hopp |
21b16a |
! if ((long)options[opt_idx].def_val[VI_DEFAULT] > (long)n
|
|
Karsten Hopp |
21b16a |
|| (long)options[opt_idx].def_val[VI_DEFAULT] == 0L)
|
|
Karsten Hopp |
21b16a |
#endif
|
|
Karsten Hopp |
21b16a |
options[opt_idx].def_val[VI_DEFAULT] = (char_u *)n;
|
|
Karsten Hopp |
21b16a |
*** ../vim-7.3.1207/src/os_mswin.c 2013-05-06 04:21:35.000000000 +0200
|
|
Karsten Hopp |
21b16a |
--- src/os_mswin.c 2013-06-16 15:59:41.000000000 +0200
|
|
Karsten Hopp |
21b16a |
***************
|
|
Karsten Hopp |
21b16a |
*** 1897,1903 ****
|
|
Karsten Hopp |
21b16a |
HWND sender = (HWND)wParam;
|
|
Karsten Hopp |
21b16a |
COPYDATASTRUCT reply;
|
|
Karsten Hopp |
21b16a |
char_u *res;
|
|
Karsten Hopp |
21b16a |
- char_u winstr[30];
|
|
Karsten Hopp |
21b16a |
int retval;
|
|
Karsten Hopp |
21b16a |
char_u *str;
|
|
Karsten Hopp |
21b16a |
char_u *tofree;
|
|
Karsten Hopp |
21b16a |
--- 1897,1902 ----
|
|
Karsten Hopp |
21b16a |
***************
|
|
Karsten Hopp |
21b16a |
*** 1970,1975 ****
|
|
Karsten Hopp |
21b16a |
--- 1969,1976 ----
|
|
Karsten Hopp |
21b16a |
#ifdef FEAT_AUTOCMD
|
|
Karsten Hopp |
21b16a |
else if (data->dwData == COPYDATA_REPLY)
|
|
Karsten Hopp |
21b16a |
{
|
|
Karsten Hopp |
21b16a |
+ char_u winstr[30];
|
|
Karsten Hopp |
21b16a |
+
|
|
Karsten Hopp |
21b16a |
sprintf((char *)winstr, PRINTF_HEX_LONG_U, (long_u)sender);
|
|
Karsten Hopp |
21b16a |
apply_autocmds(EVENT_REMOTEREPLY, winstr, str,
|
|
Karsten Hopp |
21b16a |
TRUE, curbuf);
|
|
Karsten Hopp |
21b16a |
*** ../vim-7.3.1207/src/version.c 2013-06-16 15:43:43.000000000 +0200
|
|
Karsten Hopp |
21b16a |
--- src/version.c 2013-06-16 15:57:31.000000000 +0200
|
|
Karsten Hopp |
21b16a |
***************
|
|
Karsten Hopp |
21b16a |
*** 730,731 ****
|
|
Karsten Hopp |
21b16a |
--- 730,733 ----
|
|
Karsten Hopp |
21b16a |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
21b16a |
+ /**/
|
|
Karsten Hopp |
21b16a |
+ 1208,
|
|
Karsten Hopp |
21b16a |
/**/
|
|
Karsten Hopp |
21b16a |
|
|
Karsten Hopp |
21b16a |
--
|
|
Karsten Hopp |
21b16a |
Get a life? What is the URL where it can be downloaded?
|
|
Karsten Hopp |
21b16a |
|
|
Karsten Hopp |
21b16a |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
21b16a |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
21b16a |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
21b16a |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|