[geany/geany-plugins] 8002a0: geanylua: Fix build with latest Scintilla (#510)

Colomban Wendling git-noreply at xxxxx
Sat Dec 10 10:25:03 UTC 2016


Branch:      refs/heads/master
Author:      Colomban Wendling <lists.ban at herbesfolles.org>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Sat, 10 Dec 2016 10:25:03 UTC
Commit:      8002a006da8ad64d8be2c1079141e1cf62a04afe
             https://github.com/geany/geany-plugins/commit/8002a006da8ad64d8be2c1079141e1cf62a04afe

Log Message:
-----------
geanylua: Fix build with latest Scintilla (#510)

When not defining `INCLUDE_DEPRECATED_FEATURES`, unprefixed structure
names are not available anymore.  Thus, use prefixed names.


Modified Paths:
--------------
    geanylua/glspi_sci.c

Modified: geanylua/glspi_sci.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -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



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list