[quakespasm] 05/06: Fix a few spelling mistakes.
Stephen Kitt
skitt at moszumanska.debian.org
Fri Aug 26 20:47:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
skitt pushed a commit to branch master
in repository quakespasm.
commit d243c8eed1f66a0103c46467387a18428d7342a1
Author: Stephen Kitt <steve at sk2.org>
Date: Fri Aug 26 22:44:29 2016 +0200
Fix a few spelling mistakes.
---
debian/changelog | 1 +
debian/patches/series | 1 +
debian/patches/spelling-fixes.patch | 141 ++++++++++++++++++++++++++++++++++++
3 files changed, 143 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index b84043f..3265ff7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ quakespasm (0.92.1+dfsg-1) UNRELEASED; urgency=medium
* New upstream release.
* Drop useless unversioned dpkg-dev build-dependency.
+ * Fix a few spelling mistakes.
-- Stephen Kitt <skitt at debian.org> Fri, 26 Aug 2016 22:30:03 +0200
diff --git a/debian/patches/series b/debian/patches/series
index 08086d1..9cbf6bc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ remove-redundant-linking.patch
use-inherited-build-flags.patch
mkpak-bashism.patch
reproducible-build.patch
+spelling-fixes.patch
diff --git a/debian/patches/spelling-fixes.patch b/debian/patches/spelling-fixes.patch
new file mode 100644
index 0000000..313c297
--- /dev/null
+++ b/debian/patches/spelling-fixes.patch
@@ -0,0 +1,141 @@
+Description: Spelling fixes
+Author: Stephen Kitt <skitt at debian.org>
+
+--- a/Quake/cmd.c
++++ b/Quake/cmd.c
+@@ -334,7 +334,7 @@
+ return;
+ }
+
+- // if the alias allready exists, reuse it
++ // if the alias already exists, reuse it
+ for (a = cmd_alias ; a ; a=a->next)
+ {
+ if (!strcmp(s, a->name))
+--- a/Quake/gl_model.c
++++ b/Quake/gl_model.c
+@@ -580,7 +580,7 @@
+ if (!tx || tx->name[0] != '+')
+ continue;
+ if (tx->anim_next)
+- continue; // allready sequenced
++ continue; // already sequenced
+
+ // find the number of frames in the animation
+ memset (anims, 0, sizeof(anims));
+--- a/Quake/host_cmd.c
++++ b/Quake/host_cmd.c
+@@ -1526,7 +1526,7 @@
+
+ if (sv_player->v.health <= 0)
+ {
+- SV_ClientPrintf ("Can't suicide -- allready dead!\n");
++ SV_ClientPrintf ("Can't suicide -- already dead!\n");
+ return;
+ }
+
+@@ -1595,7 +1595,7 @@
+
+ if (host_client->spawned)
+ {
+- Con_Printf ("prespawn not valid -- allready spawned\n");
++ Con_Printf ("prespawn not valid -- already spawned\n");
+ return;
+ }
+
+@@ -1624,13 +1624,13 @@
+
+ if (host_client->spawned)
+ {
+- Con_Printf ("Spawn not valid -- allready spawned\n");
++ Con_Printf ("Spawn not valid -- already spawned\n");
+ return;
+ }
+
+ // run the entrance script
+ if (sv.loadgame)
+- { // loaded games are fully inited allready
++ { // loaded games are fully inited already
+ // if this is the last client to be connected, unpause
+ sv.paused = false;
+ }
+--- a/Quake/sv_main.c
++++ b/Quake/sv_main.c
+@@ -178,7 +178,7 @@
+ weapon, feet, etc.
+
+ Channel 0 is an auto-allocate channel, the others override anything
+-allready running on that entity/channel pair.
++already running on that entity/channel pair.
+
+ An attenuation of 0 will play full volume everywhere in the level.
+ Larger attenuations will drop off. (max 4 attenuation)
+--- a/Quake/zone.c
++++ b/Quake/zone.c
+@@ -289,7 +289,7 @@
+ #define HUNKNAME_LEN 24
+ typedef struct
+ {
+- int sentinal;
++ int sentinel;
+ int size; // including sizeof(hunk_t), -1 = not allocated
+ char name[HUNKNAME_LEN];
+ } hunk_t;
+@@ -307,7 +307,7 @@
+ ==============
+ Hunk_Check
+
+-Run consistancy and sentinal trahing checks
++Run consistancy and sentinel trahing checks
+ ==============
+ */
+ void Hunk_Check (void)
+@@ -316,8 +316,8 @@
+
+ for (h = (hunk_t *)hunk_base ; (byte *)h != hunk_base + hunk_low_used ; )
+ {
+- if (h->sentinal != HUNK_SENTINAL)
+- Sys_Error ("Hunk_Check: trahsed sentinal");
++ if (h->sentinel != HUNK_SENTINAL)
++ Sys_Error ("Hunk_Check: trashed sentinel");
+ if (h->size < (int) sizeof(hunk_t) || h->size + (byte *)h - hunk_base > hunk_size)
+ Sys_Error ("Hunk_Check: bad size");
+ h = (hunk_t *)((byte *)h+h->size);
+@@ -373,8 +373,8 @@
+ //
+ // run consistancy checks
+ //
+- if (h->sentinal != HUNK_SENTINAL)
+- Sys_Error ("Hunk_Check: trahsed sentinal");
++ if (h->sentinel != HUNK_SENTINAL)
++ Sys_Error ("Hunk_Check: trashed sentinel");
+ if (h->size < (int) sizeof(hunk_t) || h->size + (byte *)h - hunk_base > hunk_size)
+ Sys_Error ("Hunk_Check: bad size");
+
+@@ -449,7 +449,7 @@
+ memset (h, 0, size);
+
+ h->size = size;
+- h->sentinal = HUNK_SENTINAL;
++ h->sentinel = HUNK_SENTINAL;
+ q_strlcpy (h->name, name, HUNKNAME_LEN);
+
+ return (void *)(h+1);
+@@ -540,7 +540,7 @@
+
+ memset (h, 0, size);
+ h->size = size;
+- h->sentinal = HUNK_SENTINAL;
++ h->sentinel = HUNK_SENTINAL;
+ q_strlcpy (h->name, name, HUNKNAME_LEN);
+
+ return (void *)(h+1);
+@@ -906,7 +906,7 @@
+ cache_system_t *cs;
+
+ if (c->data)
+- Sys_Error ("Cache_Alloc: allready allocated");
++ Sys_Error ("Cache_Alloc: already allocated");
+
+ if (size <= 0)
+ Sys_Error ("Cache_Alloc: size %i", size);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/quakespasm.git
More information about the Pkg-games-commits
mailing list