From: Torbjörn Andersson Date: Tue, 18 Apr 2023 16:44:08 +0000 (+0200) Subject: Spelling fixes. X-Git-Tag: 1.17~14 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=b28eb668688bcfc465cf6731d6c2529067803dce Spelling fixes. --- diff --git a/Makefile b/Makefile index 8a09496..fa18e6f 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/advent.h b/advent.h index 41c659f..68890da 100644 --- a/advent.h +++ b/advent.h @@ -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 */ diff --git a/main.c b/main.c index cbaf92c..16cf42d 100644 --- a/main.c +++ b/main.c @@ -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);