aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sc_interp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c
index 0b39d00..e357150 100644
--- a/src/sc_interp.c
+++ b/src/sc_interp.c
@@ -1045,6 +1045,12 @@ static void apply_style(SCInterpreter *scin, Stylesheet *ss, const char *path)
result = stylesheet_lookup(ss, fullpath);
if ( result != NULL ) set_padding(sc_interp_get_frame(scin), result);
+ /* Paragraph spacing */
+ strcpy(fullpath, path);
+ strcat(fullpath, ".paraspace");
+ result = stylesheet_lookup(ss, fullpath);
+ if ( result != NULL ) set_paraspace(scin, result);
+
update_bg(scin);
}