[geany/geany-plugins] 2a8969: PrettyPrinter: Fix declaration of input_buffer

Frank Lanitz git-noreply at xxxxx
Sun Nov 8 16:17:22 UTC 2020


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Sun, 08 Nov 2020 16:17:22 UTC
Commit:      2a8969f0f69ba5dba96298a314004d3adfff6300
             https://github.com/geany/geany-plugins/commit/2a8969f0f69ba5dba96298a314004d3adfff6300

Log Message:
-----------
PrettyPrinter: Fix declaration of input_buffer


Modified Paths:
--------------
    pretty-printer/src/PluginEntry.c

Modified: pretty-printer/src/PluginEntry.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -186,7 +186,7 @@ void xml_format(GtkMenuItem* menuitem, gpointer gdata)
     ScintillaObject* sco;
     int input_length;
     gboolean has_selection;
-    const gchar* input_buffer;
+    gchar* input_buffer;
     int output_length;
     gchar* output_buffer;
     xmlDoc* parsedDocument;
@@ -198,7 +198,7 @@ void xml_format(GtkMenuItem* menuitem, gpointer gdata)
 
     editor = doc->editor;
     sco = editor->sci;
-    
+
     /* default printing options */
     if (prettyPrintingOptions == NULL) { prettyPrintingOptions = createDefaultPrettyPrintingOptions(); }
 



--------------
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