From 7ed06c1217b748edcd0a5c2bf5ff4722194c05e1 Mon Sep 17 00:00:00 2001 From: Mike Causer Date: Sun, 17 Oct 2021 01:00:43 +1100 Subject: Fix some typos --- examples/BitmapIcons/bmp2hex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/BitmapIcons') diff --git a/examples/BitmapIcons/bmp2hex.py b/examples/BitmapIcons/bmp2hex.py index f30ce24..49e1c65 100644 --- a/examples/BitmapIcons/bmp2hex.py +++ b/examples/BitmapIcons/bmp2hex.py @@ -146,7 +146,7 @@ def bmp2hex(infile, tablewidth, sizebytes, invert, raw, named, double, xbm): # Convert tablewidth to characters from hex bytes tablewidth = int(tablewidth) * 6 - # Initilize output buffer + # Initialize output buffer outstring = '' # Open File @@ -165,7 +165,7 @@ def bmp2hex(infile, tablewidth, sizebytes, invert, raw, named, double, xbm): if ((values[0] != 0x42) or (values[1] != 0x4D)): sys.exit ("Error: Unsupported BMP format. Make sure your file is a Windows BMP.") - # Calculate width, heigth + # Calculate width, height dataOffset = getLONG(values, 10) # Offset to image data pixelWidth = getLONG(values, 18) # Width of image pixelHeight = getLONG(values, 22) # Height of image -- cgit v1.3.1