Fix possible crash on non-32-bit systems (patch by Wolfgang Ocker, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3610 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
cff3f126ac
commit
f3351261ed
@ -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>
|
||||
|
||||
@ -164,7 +164,7 @@ static void sync_to_current(ScintillaObject *sci, ScintillaObject *current)
|
||||
|
||||
/* 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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user