Skip to content

Commit b62f51f

Browse files
committed
removing leftover old lines
1 parent d8d2895 commit b62f51f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

adafruit_imageload/bmp/indexed.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,10 @@ def load(
7373
while colors > 2 ** minimum_color_depth:
7474
minimum_color_depth *= 2
7575

76-
# convert unsigned int to signed int when height is negative
7776
if sys.maxsize > 1073741823:
7877
# pylint: disable=import-outside-toplevel
7978
from .negative_height_check import negative_height_check
8079

81-
height = height - 4294967296
82-
8380
# convert unsigned int to signed int when height is negative
8481
height = negative_height_check(height)
8582
bitmap = bitmap(width, abs(height), colors)

0 commit comments

Comments
 (0)