|
Karsten Hopp |
12a917 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
12a917 |
Subject: Patch 7.3.278
|
|
Karsten Hopp |
12a917 |
Fcc: outbox
|
|
Karsten Hopp |
12a917 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
12a917 |
Mime-Version: 1.0
|
|
Karsten Hopp |
12a917 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
12a917 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
12a917 |
------------
|
|
Karsten Hopp |
12a917 |
|
|
Karsten Hopp |
12a917 |
Patch 7.3.278
|
|
Karsten Hopp |
12a917 |
Problem: Passing the file name to open in VisVim doesn't work.
|
|
Karsten Hopp |
12a917 |
Solution: Adjust the index and check for end of buffer. (Jiri Sedlak)
|
|
Karsten Hopp |
12a917 |
Files: src/VisVim/Commands.cpp
|
|
Karsten Hopp |
12a917 |
|
|
Karsten Hopp |
12a917 |
|
|
Karsten Hopp |
12a917 |
*** ../vim-7.3.277/src/VisVim/Commands.cpp 2010-08-15 21:57:27.000000000 +0200
|
|
Karsten Hopp |
12a917 |
--- src/VisVim/Commands.cpp 2011-08-10 17:21:27.000000000 +0200
|
|
Karsten Hopp |
12a917 |
***************
|
|
Karsten Hopp |
12a917 |
*** 549,555 ****
|
|
Karsten Hopp |
12a917 |
if (g_bNewTabs)
|
|
Karsten Hopp |
12a917 |
{
|
|
Karsten Hopp |
12a917 |
sprintf(VimCmd, ":tab drop ");
|
|
Karsten Hopp |
12a917 |
! s = VimCmd + 11;
|
|
Karsten Hopp |
12a917 |
}
|
|
Karsten Hopp |
12a917 |
else
|
|
Karsten Hopp |
12a917 |
{
|
|
Karsten Hopp |
12a917 |
--- 549,555 ----
|
|
Karsten Hopp |
12a917 |
if (g_bNewTabs)
|
|
Karsten Hopp |
12a917 |
{
|
|
Karsten Hopp |
12a917 |
sprintf(VimCmd, ":tab drop ");
|
|
Karsten Hopp |
12a917 |
! s = VimCmd + 10;
|
|
Karsten Hopp |
12a917 |
}
|
|
Karsten Hopp |
12a917 |
else
|
|
Karsten Hopp |
12a917 |
{
|
|
Karsten Hopp |
12a917 |
***************
|
|
Karsten Hopp |
12a917 |
*** 557,564 ****
|
|
Karsten Hopp |
12a917 |
s = VimCmd + 6;
|
|
Karsten Hopp |
12a917 |
}
|
|
Karsten Hopp |
12a917 |
sprintf(FileNameTmp, "%S", (char *)FileName);
|
|
Karsten Hopp |
12a917 |
! for (p = FileNameTmp; *p != '\0' && s < FileNameTmp + MAX_OLE_STR - 4;
|
|
Karsten Hopp |
12a917 |
! ++p)
|
|
Karsten Hopp |
12a917 |
if (*p == '\\')
|
|
Karsten Hopp |
12a917 |
*s++ = '/';
|
|
Karsten Hopp |
12a917 |
else
|
|
Karsten Hopp |
12a917 |
--- 557,563 ----
|
|
Karsten Hopp |
12a917 |
s = VimCmd + 6;
|
|
Karsten Hopp |
12a917 |
}
|
|
Karsten Hopp |
12a917 |
sprintf(FileNameTmp, "%S", (char *)FileName);
|
|
Karsten Hopp |
12a917 |
! for (p = FileNameTmp; *p != '\0' && s < VimCmd + MAX_OLE_STR - 4; ++p)
|
|
Karsten Hopp |
12a917 |
if (*p == '\\')
|
|
Karsten Hopp |
12a917 |
*s++ = '/';
|
|
Karsten Hopp |
12a917 |
else
|
|
Karsten Hopp |
12a917 |
*** ../vim-7.3.277/src/version.c 2011-08-10 17:07:56.000000000 +0200
|
|
Karsten Hopp |
12a917 |
--- src/version.c 2011-08-10 17:25:20.000000000 +0200
|
|
Karsten Hopp |
12a917 |
***************
|
|
Karsten Hopp |
12a917 |
*** 711,712 ****
|
|
Karsten Hopp |
12a917 |
--- 711,714 ----
|
|
Karsten Hopp |
12a917 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
12a917 |
+ /**/
|
|
Karsten Hopp |
12a917 |
+ 278,
|
|
Karsten Hopp |
12a917 |
/**/
|
|
Karsten Hopp |
12a917 |
|
|
Karsten Hopp |
12a917 |
--
|
|
Karsten Hopp |
12a917 |
ARTHUR: But if he was dying, he wouldn't bother to carve
|
|
Karsten Hopp |
12a917 |
"Aaaaarrrrrrggghhh". He'd just say it.
|
|
Karsten Hopp |
12a917 |
BROTHER MAYNARD: It's down there carved in stone.
|
|
Karsten Hopp |
12a917 |
GALAHAD: Perhaps he was dictating.
|
|
Karsten Hopp |
12a917 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
12a917 |
|
|
Karsten Hopp |
12a917 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
12a917 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
12a917 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
12a917 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|