Summary Files Commits Branches @commit @diff @stats
path: root / badwolf.c
diff options
context:
space:
mode:
1 files changed, 3 insertions, 0 deletions
-rw-r--r--badwolf.c3
diff --git a/badwolf.c b/badwolf.c
index fabd083..afb1f2a 100644
--- a/badwolf.c
+++ b/badwolf.c
@@ -710,6 +710,7 @@ new_browser(struct Window *window, const gchar *target_url, struct Client *old_b
web_context = webkit_web_view_get_context(old_browser->webView);
}
+ /* flawfinder: ignore. Consider that g_strsplit is safe enough */
badwolf_l10n = getenv("BADWOLF_L10N");
if(badwolf_l10n != NULL)
@@ -1101,6 +1102,7 @@ main(int argc, char *argv[])
gtk_window_set_icon_name(GTK_WINDOW(window->main_window), "badwolf");
gchar *provider_path_app = g_build_filename(DATADIR, "interface.css", NULL);
+ /* flawfinder: ignore, just a presence check */
if(access(provider_path_app, R_OK) == 0)
{
GtkCssProvider *css_provider_app = gtk_css_provider_new();
@@ -1114,6 +1116,7 @@ main(int argc, char *argv[])
gchar *provider_path_user =
g_build_filename(g_get_user_data_dir(), "badwolf", "interface.css", NULL);
+ /* flawfinder: ignore, just a presence check */
if(access(provider_path_user, R_OK) == 0)
{
GtkCssProvider *css_provider_user = gtk_css_provider_new();