|
Karsten Hopp |
061254 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
061254 |
Subject: Patch 7.0.152
|
|
Karsten Hopp |
061254 |
Fcc: outbox
|
|
Karsten Hopp |
061254 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
061254 |
Mime-Version: 1.0
|
|
Karsten Hopp |
061254 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
061254 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
061254 |
------------
|
|
Karsten Hopp |
061254 |
|
|
Karsten Hopp |
061254 |
Patch 7.0.152
|
|
Karsten Hopp |
061254 |
Problem: Crash when using lesstif 2.
|
|
Karsten Hopp |
061254 |
Solution: Fill in the extension field. (Ben Hutchings)
|
|
Karsten Hopp |
061254 |
Files: src/gui_xmebw.c
|
|
Karsten Hopp |
061254 |
|
|
Karsten Hopp |
061254 |
|
|
Karsten Hopp |
061254 |
*** ../vim-7.0.151/src/gui_xmebw.c Sat May 13 17:26:10 2006
|
|
Karsten Hopp |
061254 |
--- src/gui_xmebw.c Tue Oct 24 22:27:53 2006
|
|
Karsten Hopp |
061254 |
***************
|
|
Karsten Hopp |
061254 |
*** 138,143 ****
|
|
Karsten Hopp |
061254 |
--- 138,156 ----
|
|
Karsten Hopp |
061254 |
}
|
|
Karsten Hopp |
061254 |
};
|
|
Karsten Hopp |
061254 |
|
|
Karsten Hopp |
061254 |
+ /* This is needed to work around a bug in Lesstif 2, leaving the extension
|
|
Karsten Hopp |
061254 |
+ * NULL somehow results in getting it set to an invalid pointer. */
|
|
Karsten Hopp |
061254 |
+ XmPrimitiveClassExtRec xmEnhancedButtonPrimClassExtRec =
|
|
Karsten Hopp |
061254 |
+ {
|
|
Karsten Hopp |
061254 |
+ /* next_extension */ NULL,
|
|
Karsten Hopp |
061254 |
+ /* record_type */ NULLQUARK,
|
|
Karsten Hopp |
061254 |
+ /* version */ XmPrimitiveClassExtVersion,
|
|
Karsten Hopp |
061254 |
+ /* record_size */ sizeof(XmPrimitiveClassExtRec),
|
|
Karsten Hopp |
061254 |
+ /* widget_baseline */ XmInheritBaselineProc,
|
|
Karsten Hopp |
061254 |
+ /* widget_display_rect */ XmInheritDisplayRectProc,
|
|
Karsten Hopp |
061254 |
+ /* widget_margins */ NULL
|
|
Karsten Hopp |
061254 |
+ };
|
|
Karsten Hopp |
061254 |
+
|
|
Karsten Hopp |
061254 |
XmEnhancedButtonClassRec xmEnhancedButtonClassRec =
|
|
Karsten Hopp |
061254 |
{
|
|
Karsten Hopp |
061254 |
{
|
|
Karsten Hopp |
061254 |
***************
|
|
Karsten Hopp |
061254 |
*** 184,190 ****
|
|
Karsten Hopp |
061254 |
/* arm and activate */ XmInheritArmAndActivate,
|
|
Karsten Hopp |
061254 |
/* synthetic resources */ NULL,
|
|
Karsten Hopp |
061254 |
/* number of syn res */ 0,
|
|
Karsten Hopp |
061254 |
! /* extension */ NULL,
|
|
Karsten Hopp |
061254 |
},
|
|
Karsten Hopp |
061254 |
|
|
Karsten Hopp |
061254 |
/* label_class fields */
|
|
Karsten Hopp |
061254 |
--- 197,203 ----
|
|
Karsten Hopp |
061254 |
/* arm and activate */ XmInheritArmAndActivate,
|
|
Karsten Hopp |
061254 |
/* synthetic resources */ NULL,
|
|
Karsten Hopp |
061254 |
/* number of syn res */ 0,
|
|
Karsten Hopp |
061254 |
! /* extension */ (XtPointer)&xmEnhancedButtonPrimClassExtRec,
|
|
Karsten Hopp |
061254 |
},
|
|
Karsten Hopp |
061254 |
|
|
Karsten Hopp |
061254 |
/* label_class fields */
|
|
Karsten Hopp |
061254 |
*** ../vim-7.0.151/src/version.c Tue Oct 24 22:01:55 2006
|
|
Karsten Hopp |
061254 |
--- src/version.c Tue Oct 24 22:30:40 2006
|
|
Karsten Hopp |
061254 |
***************
|
|
Karsten Hopp |
061254 |
*** 668,669 ****
|
|
Karsten Hopp |
061254 |
--- 668,671 ----
|
|
Karsten Hopp |
061254 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
061254 |
+ /**/
|
|
Karsten Hopp |
061254 |
+ 152,
|
|
Karsten Hopp |
061254 |
/**/
|
|
Karsten Hopp |
061254 |
|
|
Karsten Hopp |
061254 |
--
|
|
Karsten Hopp |
061254 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
061254 |
110. You actually volunteer to become your employer's webmaster.
|
|
Karsten Hopp |
061254 |
|
|
Karsten Hopp |
061254 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
061254 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
061254 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
061254 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|