From 56642192d78f49cf084e1ac3cd6caa49ba68f75b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Thu, 5 Mar 2015 16:42:41 +0100 Subject: another Python script cleanup (nw) --- src/build/png2bdc.py | 4 ++-- 1 file 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 -- cgit v1.2.3