]> git.pld-linux.org Git - packages/vim.git/blob - 7.2.237
- new
[packages/vim.git] / 7.2.237
1 To: vim-dev@vim.org
2 Subject: Patch 7.2.237
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.2.237
11 Problem:    Crash on exit when window icon not set.
12 Solution:   Copy terminal name when using it for the icon name.
13 Files:      src/os_unix.c
14
15
16 *** ../vim-7.2.236/src/os_unix.c        2009-07-14 17:38:51.000000000 +0200
17 --- src/os_unix.c       2009-07-14 18:30:04.000000000 +0200
18 ***************
19 *** 1734,1742 ****
20       if (oldicon == NULL && !test_only)
21       {
22         if (STRNCMP(T_NAME, "builtin_", 8) == 0)
23 !           oldicon = T_NAME + 8;
24         else
25 !           oldicon = T_NAME;
26       }
27   
28       return retval;
29 --- 1734,1742 ----
30       if (oldicon == NULL && !test_only)
31       {
32         if (STRNCMP(T_NAME, "builtin_", 8) == 0)
33 !           oldicon = vim_strsave(T_NAME + 8);
34         else
35 !           oldicon = vim_strsave(T_NAME);
36       }
37   
38       return retval;
39 ***************
40 *** 1939,1947 ****
41       if (!test_only)
42       {
43         if (STRNCMP(T_NAME, "builtin_", 8) == 0)
44 !           oldicon = T_NAME + 8;
45         else
46 !           oldicon = T_NAME;
47       }
48       return FALSE;
49   }
50 --- 1939,1947 ----
51       if (!test_only)
52       {
53         if (STRNCMP(T_NAME, "builtin_", 8) == 0)
54 !           oldicon = vim_strsave(T_NAME + 8);
55         else
56 !           oldicon = vim_strsave(T_NAME);
57       }
58       return FALSE;
59   }
60 *** ../vim-7.2.236/src/version.c        2009-07-22 11:16:54.000000000 +0200
61 --- src/version.c       2009-07-22 13:26:30.000000000 +0200
62 ***************
63 *** 678,679 ****
64 --- 678,681 ----
65   {   /* Add new patch number below this line */
66 + /**/
67 +     237,
68   /**/
69
70 -- 
71 Common sense is what tells you that the world is flat.
72
73  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
74 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
75 \\\        download, build and distribute -- http://www.A-A-P.org        ///
76  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.061504 seconds and 3 git commands to generate.