Revision: 3610 http://geany.svn.sourceforge.net/geany/?rev=3610&view=rev Author: eht16 Date: 2009-02-27 14:07:06 +0000 (Fri, 27 Feb 2009)
Log Message: ----------- Fix possible crash on non-32-bit systems (patch by Wolfgang Ocker, thanks).
Modified Paths: -------------- trunk/ChangeLog trunk/plugins/splitwindow.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2009-02-27 14:06:51 UTC (rev 3609) +++ trunk/ChangeLog 2009-02-27 14:07:06 UTC (rev 3610) @@ -15,6 +15,9 @@ * src/callbacks.c, src/toolbar.c: Fix broken non-incremental search with the toolbar search entry when pressing Enter (closes #2638180). + * plugins/splitwindow.c: + Fix possible crash on non-32-bit systems (patch by + Wolfgang Ocker, thanks).
2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Modified: trunk/plugins/splitwindow.c =================================================================== --- trunk/plugins/splitwindow.c 2009-02-27 14:06:51 UTC (rev 3609) +++ trunk/plugins/splitwindow.c 2009-02-27 14:07:06 UTC (rev 3610) @@ -164,7 +164,7 @@
/* set the new sci widget to view the existing Scintilla document */ sdoc = (gpointer) scintilla_send_message(current, SCI_GETDOCPOINTER, 0, 0); - scintilla_send_message(sci, SCI_SETDOCPOINTER, 0, GPOINTER_TO_INT(sdoc)); + scintilla_send_message(sci, SCI_SETDOCPOINTER, 0, (sptr_t) sdoc);
update_font(current, sci); lexer = scintilla_send_message(current, SCI_GETLEXER, 0, 0);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.