LarsGit223 commented on this pull request.
- 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.