]>
Commit | Line | Data |
---|---|---|
d8621708 | 1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.049 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 6.2.049 | |
11 | Problem: Using a "-range=" argument with ":command" doesn't work and | |
12 | doesn't generate an error message. | |
13 | Solution: Generate an error message. | |
14 | Files: src/ex_docmd.c | |
15 | ||
16 | ||
17 | *** ../vim-6.2.048/src/ex_docmd.c Sat May 24 19:31:40 2003 | |
18 | --- src/ex_docmd.c Sat Jul 26 18:36:31 2003 | |
19 | *************** | |
20 | *** 4620,4626 **** | |
21 | *def = getdigits(&p); | |
22 | *argt |= (ZEROR | NOTADR); | |
23 | ||
24 | ! if (p != val + vallen) | |
25 | { | |
26 | invalid_count: | |
27 | EMSG(_("E178: Invalid default value for count")); | |
28 | --- 4622,4628 ---- | |
29 | *def = getdigits(&p); | |
30 | *argt |= (ZEROR | NOTADR); | |
31 | ||
32 | ! if (p != val + vallen || vallen == 0) | |
33 | { | |
34 | invalid_count: | |
35 | EMSG(_("E178: Invalid default value for count")); | |
36 | *** ../vim-6.2.048/src/version.c Sun Jul 27 14:32:03 2003 | |
37 | --- src/version.c Sun Jul 27 14:34:07 2003 | |
38 | *************** | |
39 | *** 632,633 **** | |
40 | --- 632,635 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 49, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | FIRST VILLAGER: We have found a witch. May we burn her? | |
48 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
49 | ||
50 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
51 | /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ | |
52 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
53 | \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |