diff options
Diffstat (limited to 'src/build/png2bdc.py')
-rw-r--r-- | src/build/png2bdc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build/png2bdc.py b/src/build/png2bdc.py index 9609b1d761b..58a5983ce97 100644 --- a/src/build/png2bdc.py +++ b/src/build/png2bdc.py @@ -269,7 +269,7 @@ def bitmapToChars(pngObject, font): # scan the column to find characters colStart = 0 - while (colStart < width): + while colStart < width: ch = RenderFontChar() # Find the start of the character @@ -321,7 +321,7 @@ def bitmapToChars(pngObject, font): rowStart = rowEnd + 1 # Return non-zero if we errored - return (rowStart < height) + return rowStart < height |