]>
Commit | Line | Data |
---|---|---|
eb0ac1ae AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.131 (extra) | |
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.131 (extra) | |
11 | Problem: Win32: Font handles are leaked. | |
12 | Solution: Free italic, bold and bold-italic handles before overwriting them. | |
13 | (Michael Wookey) | |
14 | Files: src/gui_w48.c | |
15 | ||
16 | ||
17 | *** ../vim-6.2.130/src/gui_w48.c Sun Oct 12 17:28:22 2003 | |
18 | --- src/gui_w48.c Sun Oct 26 20:09:09 2003 | |
19 | *************** | |
20 | *** 2534,2539 **** | |
21 | --- 2550,2562 ---- | |
22 | } | |
23 | ||
24 | #ifndef MSWIN16_FASTTEXT | |
25 | + gui_mch_free_font(gui.ital_font); | |
26 | + gui.ital_font = NOFONT; | |
27 | + gui_mch_free_font(gui.bold_font); | |
28 | + gui.bold_font = NOFONT; | |
29 | + gui_mch_free_font(gui.boldital_font); | |
30 | + gui.boldital_font = NOFONT; | |
31 | + | |
32 | if (!lf.lfItalic) | |
33 | { | |
34 | lf.lfItalic = TRUE; | |
35 | *** ../vim-6.2.130/src/version.c Sun Oct 26 20:00:32 2003 | |
36 | --- src/version.c Sun Oct 26 20:02:13 2003 | |
37 | *************** | |
38 | *** 639,640 **** | |
39 | --- 639,642 ---- | |
40 | { /* Add new patch number below this line */ | |
41 | + /**/ | |
42 | + 131, | |
43 | /**/ | |
44 | ||
45 | -- | |
46 | ARTHUR: Shut up! Will you shut up! | |
47 | DENNIS: Ah, now we see the violence inherent in the system. | |
48 | ARTHUR: Shut up! | |
49 | DENNIS: Oh! Come and see the violence inherent in the system! | |
50 | HELP! HELP! I'm being repressed! | |
51 | The Quest for the Holy Grail (Monty Python) | |
52 | ||
53 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
54 | /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ | |
55 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
56 | \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |