]>
Commit | Line | Data |
---|---|---|
717fd8f6 AF |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.096 | |
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.096 | |
11 | Problem: Win32: ":let @* = ''" put a newline on the clipboard. (Klaus | |
12 | Bosau) | |
13 | Solution: Put zero bytes on the clibpoard for an empty string. | |
14 | Files: src/ops.c | |
15 | ||
16 | ||
17 | *** ../vim-6.2.095/src/ops.c Fri May 23 11:15:35 2003 | |
18 | --- src/ops.c Mon Sep 8 22:14:29 2003 | |
19 | *************** | |
20 | *** 5190,5196 **** | |
21 | } | |
22 | ||
23 | /* | |
24 | ! * Convert the '*'/'*' register into a GUI selection string returned in *str | |
25 | * with length *len. | |
26 | * Returns the motion type, or -1 for failure. | |
27 | */ | |
28 | --- 5190,5196 ---- | |
29 | } | |
30 | ||
31 | /* | |
32 | ! * Convert the '*'/'+' register into a GUI selection string returned in *str | |
33 | * with length *len. | |
34 | * Returns the motion type, or -1 for failure. | |
35 | */ | |
36 | *************** | |
37 | *** 5228,5237 **** | |
38 | /* | |
39 | * Don't want newline character at end of last line if we're in MCHAR mode. | |
40 | */ | |
41 | ! if (y_ptr->y_type == MCHAR && *len > eolsize) | |
42 | *len -= eolsize; | |
43 | ||
44 | ! p = *str = lalloc(*len, TRUE); | |
45 | if (p == NULL) | |
46 | return -1; | |
47 | lnum = 0; | |
48 | --- 5228,5237 ---- | |
49 | /* | |
50 | * Don't want newline character at end of last line if we're in MCHAR mode. | |
51 | */ | |
52 | ! if (y_ptr->y_type == MCHAR && *len >= eolsize) | |
53 | *len -= eolsize; | |
54 | ||
55 | ! p = *str = lalloc(*len + 1, TRUE); /* add one to avoid zero */ | |
56 | if (p == NULL) | |
57 | return -1; | |
58 | lnum = 0; | |
59 | *** ../vim-6.2.095/src/version.c Fri Sep 12 20:23:50 2003 | |
60 | --- src/version.c Fri Sep 12 20:25:49 2003 | |
61 | *************** | |
62 | *** 632,633 **** | |
63 | --- 632,635 ---- | |
64 | { /* Add new patch number below this line */ | |
65 | + /**/ | |
66 | + 96, | |
67 | /**/ | |
68 | ||
69 | -- | |
70 | JOHN CLEESE PLAYED: SECOND SOLDIER WITH A KEEN INTEREST IN BIRDS, LARGE MAN | |
71 | WITH DEAD BODY, BLACK KNIGHT, MR NEWT (A VILLAGE | |
72 | BLACKSMITH INTERESTED IN BURNING WITCHES), A QUITE | |
73 | EXTRAORDINARILY RUDE FRENCHMAN, TIM THE WIZARD, SIR | |
74 | LAUNCELOT | |
75 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
76 | ||
77 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
78 | /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ | |
79 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
80 | \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |