aboutsummaryrefslogtreecommitdiff
path: root/src/sc_interp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sc_interp.c')
-rw-r--r--src/sc_interp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c
index 780663f..010b100 100644
--- a/src/sc_interp.c
+++ b/src/sc_interp.c
@@ -945,6 +945,8 @@ static void apply_style(SCInterpreter *scin, Stylesheet *ss, const char *path)
return;
}
+ if ( ss == NULL ) return;
+
/* Font */
strcpy(fullpath, path);
strcat(fullpath, ".font");