]>
Commit | Line | Data |
---|---|---|
39a54fe5 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.219 (extra) | |
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.219 (extra) | |
11 | Problem: Photon GUI is outdated. | |
12 | Solution: Updates for QNX 6.4.0. (Sean Boudreau) | |
13 | Files: src/gui_photon.c | |
14 | ||
15 | ||
16 | *** ../vim-7.2.218/src/gui_photon.c 2007-05-10 20:23:35.000000000 +0200 | |
17 | --- src/gui_photon.c 2009-07-01 16:08:36.000000000 +0200 | |
18 | *************** | |
19 | *** 838,844 **** | |
20 | --- 838,849 ---- | |
21 | static void | |
22 | gui_ph_draw_start( void ) | |
23 | { | |
24 | + PhGC_t *gc; | |
25 | + | |
26 | + gc = PgGetGC(); | |
27 | PgSetRegion( PtWidgetRid( PtFindDisjoint( gui.vimTextArea ) ) ); | |
28 | + PgClearClippingsCx( gc ); | |
29 | + PgClearTranslationCx( gc ); | |
30 | ||
31 | PtWidgetOffset( gui.vimTextArea, &gui_ph_raw_offset ); | |
32 | PhTranslatePoint( &gui_ph_raw_offset, PtWidgetPos( gui.vimTextArea, NULL ) ); | |
33 | *************** | |
34 | *** 2970,2976 **** | |
35 | if( vim_font_name == NULL ) | |
36 | { | |
37 | /* Default font */ | |
38 | ! vim_font_name = "PC Term"; | |
39 | } | |
40 | ||
41 | if( STRCMP( vim_font_name, "*" ) == 0 ) | |
42 | --- 2975,2981 ---- | |
43 | if( vim_font_name == NULL ) | |
44 | { | |
45 | /* Default font */ | |
46 | ! vim_font_name = "PC Terminal"; | |
47 | } | |
48 | ||
49 | if( STRCMP( vim_font_name, "*" ) == 0 ) | |
50 | *** ../vim-7.2.218/src/version.c 2009-06-24 18:31:36.000000000 +0200 | |
51 | --- src/version.c 2009-07-01 16:11:34.000000000 +0200 | |
52 | *************** | |
53 | *** 678,679 **** | |
54 | --- 678,681 ---- | |
55 | { /* Add new patch number below this line */ | |
56 | + /**/ | |
57 | + 219, | |
58 | /**/ | |
59 | ||
60 | -- | |
61 | "Oh, no! NOT the Spanish Inquisition!" | |
62 | "NOBODY expects the Spanish Inquisition!!!" | |
63 | -- Monty Python sketch -- | |
64 | "Oh, no! NOT another option!" | |
65 | "EVERYBODY expects another option!!!" | |
66 | -- Discussion in vim-dev mailing list -- | |
67 | ||
68 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
69 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
70 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
71 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |