aboutsummaryrefslogtreecommitdiff
path: root/examples/BitmapIcons
diff options
context:
space:
mode:
authorMike Causer <mcauser@gmail.com>2021-10-17 01:00:43 +1100
committerMike Causer <mcauser@gmail.com>2021-10-17 01:00:43 +1100
commit7ed06c1217b748edcd0a5c2bf5ff4722194c05e1 (patch)
tree4e7a230ccb9c25d1d9f0e3e344899967bbcf0ce2 /examples/BitmapIcons
parentcf66382d75d5fb9b9a6f890d0d92c5d09c0fbc96 (diff)
Fix some typos
Diffstat (limited to 'examples/BitmapIcons')
-rw-r--r--examples/BitmapIcons/bmp2hex.py4
1 files changed, 2 insertions, 2 deletions
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