@LiquidCake commented on this pull request.


In plugins/saveactions.c:

> +	g_free(filename);
+
+	return matched;
+}
+
+
+static gchar* create_new_persistent_untitled_doc_file_name(GeanyDocument *doc)
+{
+	gint i;
+	gchar *extension_postfix;
+	GeanyFiletype *filetype = get_doc_filetype_or_default(doc);
+
+	if (filetype != NULL && !EMPTY(filetype->extension))
+		extension_postfix = g_strconcat(".", filetype->extension, NULL);
+	else
+		extension_postfix = "";

done


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3911/review/2452485090@github.com>