@LarsGit223 commented on this pull request.


In workbench/src/wb_project.c:

> +
+/** Set the filename of a project.
+ *
+ * @param prj      The project
+ * @param filename The filename
+ *
+ **/
+void wb_project_set_filename(WB_PROJECT *prj, gchar *filename)
+{
+	if (prj != NULL)
+	{
+		guint offset;
+		gchar *ext;
+
+		prj->filename = g_strdup(filename);
+		prj->name = g_path_get_basename (filename);

Well, today the function is only called once. But I changed it to be on the safe side in case of future changes.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.