@elextr commented on this pull request.


> +             else
+               {
+                       gtk_widget_grab_focus(e->file_name);
+                       utils_free_pointers(2, project_file_dirname, 
locale_filename, NULL);
+                       return FALSE;
+               }

The `utils_mkdir()` uses `g_mkdir_with_parents()` which succeeds if the 
directory already exists, so thats why basename behaves as it does, and should 
be fine to let filename work the same.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2586#discussion_r489101682

Reply via email to