Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: typos #1630

Merged
merged 2 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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