Wrong multiplier was used for the most significant byte. Fix it even though it
doesn't risk to be a problem in practice as the images of such gigantic size
would surely break some limit anyhow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66847
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
# Try to naively get its size if necessary
if with_size:
- width = bytes[19] + 16*bytes[18] + 256*bytes[17] + 4096*bytes[16]
- height = bytes[23] + 16*bytes[22] + 256*bytes[21] + 4096*bytes[20]
+ width = bytes[19] + 16*bytes[18] + 256*bytes[17] + 65536*bytes[16]
+ height = bytes[23] + 16*bytes[22] + 256*bytes[21] + 65536*bytes[20]
size_suffix = "_%dx%d" % (width, height)
# Create the C header