mirror of
https://github.com/holub/mame
synced 2025-04-26 10:13:37 +03:00
another Python script cleanup (nw)
This commit is contained in:
parent
87fb14a840
commit
56642192d7
@ -269,7 +269,7 @@ def bitmapToChars(pngObject, font):
|
|||||||
|
|
||||||
# scan the column to find characters
|
# scan the column to find characters
|
||||||
colStart = 0
|
colStart = 0
|
||||||
while (colStart < width):
|
while colStart < width:
|
||||||
ch = RenderFontChar()
|
ch = RenderFontChar()
|
||||||
|
|
||||||
# Find the start of the character
|
# Find the start of the character
|
||||||
@ -321,7 +321,7 @@ def bitmapToChars(pngObject, font):
|
|||||||
rowStart = rowEnd + 1
|
rowStart = rowEnd + 1
|
||||||
|
|
||||||
# Return non-zero if we errored
|
# Return non-zero if we errored
|
||||||
return (rowStart < height)
|
return rowStart < height
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user