4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Crash when using lesstif 2.
12 Solution: Fill in the extension field. (Ben Hutchings)
13 Files: src/gui_xmebw.c
16 *** ../vim-7.0.151/src/gui_xmebw.c Sat May 13 17:26:10 2006
17 --- src/gui_xmebw.c Tue Oct 24 22:27:53 2006
24 + /* This is needed to work around a bug in Lesstif 2, leaving the extension
25 + * NULL somehow results in getting it set to an invalid pointer. */
26 + XmPrimitiveClassExtRec xmEnhancedButtonPrimClassExtRec =
28 + /* next_extension */ NULL,
29 + /* record_type */ NULLQUARK,
30 + /* version */ XmPrimitiveClassExtVersion,
31 + /* record_size */ sizeof(XmPrimitiveClassExtRec),
32 + /* widget_baseline */ XmInheritBaselineProc,
33 + /* widget_display_rect */ XmInheritDisplayRectProc,
34 + /* widget_margins */ NULL
37 XmEnhancedButtonClassRec xmEnhancedButtonClassRec =
42 /* arm and activate */ XmInheritArmAndActivate,
43 /* synthetic resources */ NULL,
44 /* number of syn res */ 0,
45 ! /* extension */ NULL,
48 /* label_class fields */
50 /* arm and activate */ XmInheritArmAndActivate,
51 /* synthetic resources */ NULL,
52 /* number of syn res */ 0,
53 ! /* extension */ (XtPointer)&xmEnhancedButtonPrimClassExtRec,
56 /* label_class fields */
57 *** ../vim-7.0.151/src/version.c Tue Oct 24 22:01:55 2006
58 --- src/version.c Tue Oct 24 22:30:40 2006
62 { /* Add new patch number below this line */
68 hundred-and-one symptoms of being an internet addict:
69 110. You actually volunteer to become your employer's webmaster.
71 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
72 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
73 \\\ download, build and distribute -- http://www.A-A-P.org ///
74 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///