[Github-comments] [geany/geany-plugins] Workbench (#598)

LarsGit223 notifications at xxxxx
Sat Aug 19 12:51:52 UTC 2017


LarsGit223 commented on this pull request.



> +			}
+		}
+	}
+	return NULL;
+}
+
+
+/* Add a workbench bookmark */
+static gboolean workbench_add_bookmark_int(WORKBENCH *wb, gchar *filename)
+{
+	if (wb != NULL)
+	{
+		gchar *new;
+
+		new = g_strdup(filename);
+		if (new != NULL)

Ok, fixed. Also, if ```filename``` is ```NULL``` the function now also returns with ```FALSE``` immediately.

-- 
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-plugins/pull/598#discussion_r134091101
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170819/5e183243/attachment.html>


More information about the Github-comments mailing list