Skip to content

Commit

Permalink
Merge pull request #1630 from RoboSchmied/RoboSchmied-AGfixT55
Browse files Browse the repository at this point in the history
Fix: typos
  • Loading branch information
TheJJ authored Mar 26, 2024
2 parents 2f1ea21 + 5bc1abb commit e864333
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions copying.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ _the openage authors_ are:
| Fábio Barkoski | fabiobarkoski | fabiobarkoskii à gmail dawt com |
| Astitva Kamble | askastitva | astitvakamble5 à gmail dawt com |
| Haoyang Bi | AyiStar | ayistar à outlook dawt com |
| Michael Seibt | RoboSchmied | github à roboschmie dawt de |

If you're a first-time committer, add yourself to the above list. This is not
just for legal reasons, but also to keep an overview of all those nicknames.
Expand Down
4 changes: 2 additions & 2 deletions openage/cabextract/cabchecksum.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2015-2016 the openage authors. See copying.md for legal info.
# Copyright 2015-2024 the openage authors. See copying.md for legal info.

"""
Implements the MSCAB checksum algorithm.
Expand Down Expand Up @@ -74,7 +74,7 @@ def mscab_csum(bytes data):
for i in range(count):
result ^= data_ptr[i]

# we have so far ignored endianess issues.
# we have so far ignored endianness issues.
# on a non-little endian system, the interpretation is wrong.
# thus, interpret it as binary data and decode it as little endian.
result = (
Expand Down
6 changes: 3 additions & 3 deletions openage/util/struct.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2015-2023 the openage authors. See copying.md for legal info.
# Copyright 2015-2024 the openage authors. See copying.md for legal info.

"""
Provides some classes designed to expand the functionality of struct.struct
Expand Down Expand Up @@ -48,7 +48,7 @@ def __new__(mcs, name, bases, classdict, **kwds):
raise SyntaxError("endianness has been given multiple times")

if value not in "@=<>!":
raise SyntaxError("endianess: expected one of @=<>!")
raise SyntaxError("endianness: expected one of @=<>!")

specstr = value
continue
Expand Down Expand Up @@ -95,7 +95,7 @@ class NamedStruct(metaclass=NamedStructMeta):
Alternatively, attributes may be set to None; those are ignored,
and may be set manually at some later point.
The first member must be 'endianess'.
The first member must be 'endianness'.
Example:
Expand Down

0 comments on commit e864333

Please sign in to comment.