From 27e08c96c71183edea9be3e189d7152c19b1beac Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 21 Oct 2018 18:03:01 +0200 Subject: Try .ss for stylesheet --- src/sc_interp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sc_interp.c') 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"); -- cgit v1.2.3