aboutsummaryrefslogtreecommitdiff
path: root/freetype/src/tools/docmaker/content.py
diff options
context:
space:
mode:
Diffstat (limited to 'freetype/src/tools/docmaker/content.py')
-rw-r--r--freetype/src/tools/docmaker/content.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/freetype/src/tools/docmaker/content.py b/freetype/src/tools/docmaker/content.py
index 0d76d19de..b398955b8 100644
--- a/freetype/src/tools/docmaker/content.py
+++ b/freetype/src/tools/docmaker/content.py
@@ -540,7 +540,7 @@ class DocBlock:
while start < end and not string.strip( source[end] ):
end = end - 1
- if start == end:
+ if start == end and not string.strip( source[start] ):
self.code = []
else:
self.code = source[start:end + 1]