summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code.l b/src/code.l
index 39f5e6e..a6f0fb1 100644
--- a/src/code.l
+++ b/src/code.l
@@ -231,7 +231,7 @@ static void startCodeLine()
static void endFontClass();
static void endCodeLine()
{
- endFontClass();
+ if (g_currentFontClass) { g_code->endFontClass(); }
g_code->endCodeLine();
}