From fc6774ee40f9dd52042df5fb17b72bd7e5c03de8 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Tue, 6 Dec 2016 20:24:49 +0100 Subject: [PATCH] geanylua: Fix build with latest Scintilla When not defining `INCLUDE_DEPRECATED_FEATURES`, unprefixed structure names are not available anymore. Thus, use prefixed names. --- geanylua/glspi_sci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geanylua/glspi_sci.c b/geanylua/glspi_sci.c index edd35b824..f70c5ab2d 100644 --- a/geanylua/glspi_sci.c +++ b/geanylua/glspi_sci.c @@ -739,7 +739,7 @@ static gint glspi_scintilla(lua_State* L) static gint glspi_find(lua_State* L) { - struct TextToFind ttf; + struct Sci_TextToFind ttf; gint flags=0; gint i,n; @@ -820,7 +820,7 @@ struct CharacterRange { */ /* -struct TextToFind { +struct Sci_TextToFind { struct CharacterRange chrg; // range to search char *lpstrText; // the search pattern (zero terminated) struct CharacterRange chrgText; // returned as position of matching text