From 5cf0f46ee245e04d6ed9438eee62e05021551a2d Mon Sep 17 00:00:00 2001 From: Toni Gundogdu Date: Mon, 13 May 2013 14:42:31 +0300 Subject: [PATCH] misc/scan_scripts.c: Make show_dir a static variable Signed-off-by: Toni Gundogdu --- src/misc/scan_scripts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/scan_scripts.c b/src/misc/scan_scripts.c index 1603b21..8699a3f 100644 --- a/src/misc/scan_scripts.c +++ b/src/misc/scan_scripts.c @@ -86,8 +86,8 @@ static GString *_contents(GString *fpath) static gboolean excl_scripts_dir; static const gchar *scripts_dir; +static const gchar *show_dir; const gchar *show_script; -const gchar *show_dir; typedef QuviError (*exec_script_ident_callback)(gpointer, GSList*); typedef gpointer (*new_ident_callback)(_quvi_t, const gchar*); -- 2.11.4.GIT