[Github-comments] [geany/geany] Rpg sidebar tree (see #259) (#1813)

Thomas Martitz notifications at xxxxx
Thu Aug 1 13:47:13 UTC 2019


kugel- commented on this pull request.



> @@ -1100,7 +1412,7 @@ void sidebar_init(void)
 	StashGroup *group;
 
 	group = stash_group_new(PACKAGE);
-	stash_group_add_boolean(group, &documents_show_paths, "documents_show_paths", TRUE);
+	stash_group_add_integer(group, (gint*)&documents_show_paths, "documents_show_paths", SHOW_PATHS_LIST);

Do you suggest to check every single usage of the variable or is there some kind of point in time after which we can assume the value is sanitized?

-- 
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/pull/1813#discussion_r309704995
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190801/a374234d/attachment.html>


More information about the Github-comments mailing list