]> git.ipfire.org Git - ipfire-3.x.git/blob - vim/patches/vim-7.3.540.patch0
Merge remote-tracking branch 'stevee/dracut'
[ipfire-3.x.git] / vim / patches / vim-7.3.540.patch0
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.540
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.540
11 Problem: Cursor is left on the text instead of the command line.
12 Solution: Don't call setcursor() in command line mode.
13 Files: src/getchar.c
14
15
16 *** ../vim-7.3.539/src/getchar.c 2012-06-01 15:20:49.000000000 +0200
17 --- src/getchar.c 2012-06-06 11:58:05.000000000 +0200
18 ***************
19 *** 2819,2825 ****
20 edit_unputchar();
21 if (State & CMDLINE)
22 unputcmdline();
23 ! setcursor(); /* put cursor back where it belongs */
24 }
25
26 if (c < 0)
27 --- 2819,2826 ----
28 edit_unputchar();
29 if (State & CMDLINE)
30 unputcmdline();
31 ! else
32 ! setcursor(); /* put cursor back where it belongs */
33 }
34
35 if (c < 0)
36 *** ../vim-7.3.539/src/version.c 2012-06-06 12:02:57.000000000 +0200
37 --- src/version.c 2012-06-06 12:05:22.000000000 +0200
38 ***************
39 *** 716,717 ****
40 --- 716,719 ----
41 { /* Add new patch number below this line */
42 + /**/
43 + 540,
44 /**/
45
46 --
47 "Making it up? Why should I want to make anything up? Life's bad enough
48 as it is without wanting to invent any more of it."
49 -- Marvin, the Paranoid Android in Douglas Adams'
50 "The Hitchhiker's Guide to the Galaxy"
51
52 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
53 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
54 \\\ an exciting new programming language -- http://www.Zimbu.org ///
55 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///