]>
Commit | Line | Data |
---|---|---|
f6120117 | 1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.278 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.278 | |
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 | |
14 | ||
15 | ||
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 | |
18 | *************** | |
19 | *** 549,555 **** | |
20 | if (g_bNewTabs) | |
21 | { | |
22 | sprintf(VimCmd, ":tab drop "); | |
23 | ! s = VimCmd + 11; | |
24 | } | |
25 | else | |
26 | { | |
27 | --- 549,555 ---- | |
28 | if (g_bNewTabs) | |
29 | { | |
30 | sprintf(VimCmd, ":tab drop "); | |
31 | ! s = VimCmd + 10; | |
32 | } | |
33 | else | |
34 | { | |
35 | *************** | |
36 | *** 557,564 **** | |
37 | s = VimCmd + 6; | |
38 | } | |
39 | sprintf(FileNameTmp, "%S", (char *)FileName); | |
40 | ! for (p = FileNameTmp; *p != '\0' && s < FileNameTmp + MAX_OLE_STR - 4; | |
41 | ! ++p) | |
42 | if (*p == '\\') | |
43 | *s++ = '/'; | |
44 | else | |
45 | --- 557,563 ---- | |
46 | s = VimCmd + 6; | |
47 | } | |
48 | sprintf(FileNameTmp, "%S", (char *)FileName); | |
49 | ! for (p = FileNameTmp; *p != '\0' && s < VimCmd + MAX_OLE_STR - 4; ++p) | |
50 | if (*p == '\\') | |
51 | *s++ = '/'; | |
52 | else | |
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 | |
55 | *************** | |
56 | *** 711,712 **** | |
57 | --- 711,714 ---- | |
58 | { /* Add new patch number below this line */ | |
59 | + /**/ | |
60 | + 278, | |
61 | /**/ | |
62 | ||
63 | -- | |
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 | |
69 | ||
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 /// |