1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Passing the file name to open in VisVim doesn't work.
12 Solution: Adjust the index and check for end of buffer. (Jiri Sedlak)
13 Files: src/VisVim/Commands.cpp
16 *** ../vim-7.3.277/src/VisVim/Commands.cpp 2010-08-15 21:57:27.000000000 +0200
17 --- src/VisVim/Commands.cpp 2011-08-10 17:21:27.000000000 +0200
22 sprintf(VimCmd, ":tab drop ");
30 sprintf(VimCmd, ":tab drop ");
39 sprintf(FileNameTmp, "%S", (char *)FileName);
40 ! for (p = FileNameTmp; *p != '\0' && s < FileNameTmp + MAX_OLE_STR - 4;
48 sprintf(FileNameTmp, "%S", (char *)FileName);
49 ! for (p = FileNameTmp; *p != '\0' && s < VimCmd + MAX_OLE_STR - 4; ++p)
53 *** ../vim-7.3.277/src/version.c 2011-08-10 17:07:56.000000000 +0200
54 --- src/version.c 2011-08-10 17:25:20.000000000 +0200
58 { /* Add new patch number below this line */
64 ARTHUR: But if he was dying, he wouldn't bother to carve
65 "Aaaaarrrrrrggghhh". He'd just say it.
66 BROTHER MAYNARD: It's down there carved in stone.
67 GALAHAD: Perhaps he was dictating.
68 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
70 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
71 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
72 \\\ an exciting new programming language -- http://www.Zimbu.org ///
73 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///