<p></p>
<p><b>@elextr</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2586#discussion_r489101682">src/project.c</a>:</p>
<pre style='color:#555'>> +            else
+               {
+                       gtk_widget_grab_focus(e->file_name);
+                       utils_free_pointers(2, project_file_dirname, locale_filename, NULL);
+                       return FALSE;
+               }
</pre>
<p>The <code>utils_mkdir()</code> uses <code>g_mkdir_with_parents()</code> 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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2586#discussion_r489101682">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ37F3AHXAPLICSJQO3SGAFUXANCNFSM4RLUS2GA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6TLGUZ753S4OZWDJLSGAFUXA5CNFSM4RLUS2GKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGODUUK47Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2586#discussion_r489101682",
"url": "https://github.com/geany/geany/pull/2586#discussion_r489101682",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>