@LarsGit223 commented on this pull request.


In workbench/src/wb_project.c:

> +	pos += g_snprintf(&(text[pos]), sizeof(text)-pos, _("Number of Files: %u\n"), dir->file_count);
+
+	return g_strdup(text);
+}
+
+
+/** Get an info string for the project.
+ *
+ * @param prj The project
+ * @return The info string
+ *
+ **/
+gchar *wb_project_get_info (WB_PROJECT *prj)
+{
+	guint pos = 0;
+	gchar text[2048];

Switched to GString.


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