Spelling fixes.

This commit is contained in:
Torbjörn Andersson 2023-04-18 18:44:08 +02:00
parent f0119f8431
commit b28eb66868
3 changed files with 5 additions and 5 deletions

View file

@ -69,7 +69,7 @@ check: advent cheat
cd tests; $(MAKE) --quiet
# Requires gcov, lcov, libasan6, and libubsan1
# The last two are Ubuntu names, might vary onb other distributions.
# The last two are Ubuntu names, might vary on other distributions.
# After this, run your browser on coverage/open-adventure/index.html
# to see coverage results. Browse coverage/adventure.yaml.html
# to see symbol coverage over the YAML file.
@ -134,7 +134,7 @@ linty: CCFLAGS += -Winit-self
linty: CCFLAGS += -Wpointer-arith
linty: advent cheat
# These seem to be more modeern options for enabling coverage testing.
# These seem to be more modern options for enabling coverage testing.
# Documenting them here in case a future version bump disables --coverage.
#debug: CCFLAGS += -ftest-coverage
#debug: CCFLAGS += -fprofile-arcs

View file

@ -65,7 +65,7 @@
* PROP_STASHED is supposed to map a state property value to a
* negative range, where the object cannot be picked up but the value
* can be recovered later. Various objects get this property when
* the cave starts to close. On;y seems to be signifucant for the bird
* the cave starts to close. Only seems to be significant for the bird
* and readable objects, notably the clam/oyster - but the code around
* those test is difficult to read.
*/
@ -243,7 +243,7 @@ struct game_t {
} dwarves[NDWARVES + 1];
struct {
#ifdef FOUNDBOOL
bool32_t found; // has the location of this object bween found?
bool32_t found; // has the location of this object been found?
#endif
loc_t fixed; // fixed location of object (if not IS_FREE)
int32_t prop; // object state */

2
main.c
View file

@ -860,7 +860,7 @@ static bool closecheck(void)
* snake is known to have been destroyed and needn't be
* carried away from its old "place"), making the various
* objects be handled differently. We also drop all other
* objects he might be acrrying (lest he have some which
* objects he might be carrying (lest he has some which
* could cause trouble, such as the keys). We describe the
* flash of light and trundle back. */
put(BOTTLE, LOC_NE, EMPTY_BOTTLE);