summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorluz paz <luzpaz@github.com>2022-05-31 15:17:36 -0400
committerRiku Isokoski <riksu9000@gmail.com>2022-06-05 09:31:23 +0300
commit03a510bd182cdb89005d75e0f8dacf734efce315 (patch)
tree581d6638c06a2211c2d154e69cf66d702e1de818 /tools
parent7f45538eb53235ab4015fcf13533796c8759c7bc (diff)
Fix various typos
Found via `codespell -q 3 -S ./src/libs -L ans,doubleclick,trough`
Diffstat (limited to 'tools')
-rw-r--r--tools/rle_encode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rle_encode.py b/tools/rle_encode.py
index 80a0926f..58c45b73 100644
--- a/tools/rle_encode.py
+++ b/tools/rle_encode.py
@@ -101,7 +101,7 @@ class ReverseCLUT:
rd = r - (candidate >> 16)
gd = g - ((candidate >> 8) & 0xff)
bd = b - (candidate & 0xff)
- # This is the Euclidian distance (squared)
+ # This is the Euclidean distance (squared)
distance = rd * rd + gd * gd + bd * bd
if distance < best:
best = distance