mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-08 00:44:42 +00:00
Fix typos found by codespell (#2229)
This commit is contained in:
parent
f7a0117e7d
commit
bccb219ea3
32 changed files with 71 additions and 71 deletions
|
@ -111,7 +111,7 @@ simpleReplace = {
|
|||
}
|
||||
|
||||
# all occurrences of keys will be replaced by associated value,
|
||||
# if the occurence is the whole word
|
||||
# if the occurrence is the whole word
|
||||
# for example, if there is a space before and an open parenthesis after,
|
||||
# like for a function call: ` func_8002E4B4(`
|
||||
wordReplace = {
|
||||
|
@ -451,7 +451,7 @@ def replace_single(file):
|
|||
custom_behavior_ignore_offset, custom_behavior_ignore_match = custom_behavior_ignore_data
|
||||
else:
|
||||
custom_behavior = False
|
||||
# replace `old` with `new` if the occurence of `old` is the whole word
|
||||
# replace `old` with `new` if the occurrence of `old` is the whole word
|
||||
oldStartIdx = srcdata.find(old)
|
||||
if oldStartIdx >= 0:
|
||||
old_start_as_word = is_word_char(old[0])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue