From 2a8969f0f69ba5dba96298a314004d3adfff6300 Mon Sep 17 00:00:00 2001 From: Frank Lanitz Date: Sun, 8 Nov 2020 17:17:22 +0100 Subject: [PATCH] PrettyPrinter: Fix declaration of input_buffer --- pretty-printer/src/PluginEntry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pretty-printer/src/PluginEntry.c b/pretty-printer/src/PluginEntry.c index a2f10e9e3..03004ed38 100644 --- a/pretty-printer/src/PluginEntry.c +++ b/pretty-printer/src/PluginEntry.c @@ -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(); }