@LiquidCake commented on this pull request.


> +     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 or view it on GitHub:
https://github.com/geany/geany/pull/3911#discussion_r1852759794
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3911/review/[email protected]>

Reply via email to