diff options
author | portix <portix@gmx.net> | 2014-03-09 11:32:56 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2014-03-09 11:32:56 +0100 |
commit | 3d934c2b83cf130a183b15328cfa2f4cf63a90c6 (patch) | |
tree | c726f229b03c8cd86930192469dbb7ac8c5b1dd4 | |
parent | fa3590e14c5c8f28a6af1b92fa81fc297c586bd2 (diff) | |
download | dwb-3d934c2b83cf130a183b15328cfa2f4cf63a90c6.zip |
Fixing segfault if scripting context doesn't exist, closing #404.
-rw-r--r-- | src/scripts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts.c b/src/scripts.c index 949a8d71..d4f9341b 100644 --- a/src/scripts.c +++ b/src/scripts.c @@ -7307,7 +7307,7 @@ void scripts_create_tab(GList *gl) { static gboolean applied = false; - if (s_ctx->global_context == NULL ) + if (s_ctx == NULL ) { VIEW(gl)->script_wv = NULL; return; |