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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c
index fd62c46..b4ec7cd 100644
--- a/src/sc_interp.c
+++ b/src/sc_interp.c
@@ -908,6 +908,7 @@ static int add_text(struct frame *fr, PangoContext *pc, SCBlock *bl,
/* Empty block? */
if ( text == NULL ) return 1;
+ if ( strlen(text) == 0 ) return 1;
fontdesc = sc_interp_get_fontdesc(scin);
col = sc_interp_get_fgcol(scin);