diff options
author | Oliver Stöneberg <oliverst@online.de> | 2015-03-05 16:42:41 +0100 |
---|---|---|
committer | Oliver Stöneberg <oliverst@online.de> | 2015-03-05 16:42:41 +0100 |
commit | 56642192d78f49cf084e1ac3cd6caa49ba68f75b (patch) | |
tree | 59f8b56a2bb6587a6d3c0834d33de5d8b00cf13e /src/build | |
parent | 87fb14a840bfd8b288a7b7a98edbf6cdf0f5808c (diff) |
another Python script cleanup (nw)
Diffstat (limited to 'src/build')
-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 |