[blockattack] 65/88: Fix some spelling errors

Markus Koschany apo-guest at moszumanska.debian.org
Wed Jan 6 11:53:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository blockattack.

commit 8c5dd845b6bc000ae2ef64d7669dc68667c09db6
Author: Paul Wise <pabs at debian.org>
Date:   Thu Mar 10 12:10:04 2011 +0000

    Fix some spelling errors
---
 debian/changelog                         |  1 +
 debian/patches/fix-spelling-errors.patch | 54 ++++++++++++++++++++++++++++++++
 debian/patches/series                    |  1 +
 3 files changed, 56 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f5eb2f6..3746b13 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ blockattack (1.4.1+ds1-1) UNRELEASED; urgency=low
   * Add DEP-3 headers to the patches
   * Refer to the correct version of the GPL
   * Clean up the package description a bit
+  * Fix some spelling errors
 
  -- Paul Wise <pabs at debian.org>  Thu, 10 Mar 2011 15:33:15 +0800
 
diff --git a/debian/patches/fix-spelling-errors.patch b/debian/patches/fix-spelling-errors.patch
new file mode 100644
index 0000000..0a27376
--- /dev/null
+++ b/debian/patches/fix-spelling-errors.patch
@@ -0,0 +1,54 @@
+Author: Paul Wise <pabs at debian.org>
+Description: fix some spelling errors
+Bug: http://sf.net/support/tracker.php?aid=3205356
+--- a/source/code/NetworkThing.hpp
++++ b/source/code/NetworkThing.hpp
+@@ -293,7 +293,7 @@
+                     event.packet -> data,
+                     event.peer -> data,
+                     event.channelID);*/
+-                //cout << "Package recieved" << endl;
++                //cout << "Package received" << endl;
+                 if (event.channelID==0) //Unreliable (only boardPacks)
+                 {
+                     boardPackage bpack;
+@@ -322,7 +322,7 @@
+                     memcpy(&g,event.packet->data,sizeof(Uint16));
+                     Uint8 x = (g/256);
+                     Uint8 y = (g%256);
+-                    cout << "Recieved Garbage: " << (int)x << "," << (int)y << endl;
++                    cout << "Received Garbage: " << (int)x << "," << (int)y << endl;
+                     if ((x==255)&&(y==255))
+                         bgHome->CreateGreyGarbage();
+                     else
+@@ -335,14 +335,14 @@
+                     {
+                         strcpy(bgAway->name,(const char*)event.packet->data);
+                         cout << "The enemy name is: " << bgAway->name << " Length: " << sizeof(char[30])<< endl;
+-                        if (weAreAClient) //We have just recieved the servers name and must send our own
++                        if (weAreAClient) //We have just received the servers name and must send our own
+                         {
+                             ENetPacket * answerPacket = enet_packet_create(bgHome->name,sizeof(char[30]),ENET_PACKET_FLAG_RELIABLE);
+                             enet_peer_send (peer, 3, answerPacket);
+                         }
+                     }
+                     else
+-                        if (event.packet->dataLength==sizeof("version3")) //We have recieved aversion number
++                        if (event.packet->dataLength==sizeof("version3")) //We have received aversion number
+                         {
+                             if (0!=strcmp((const char*)event.packet->data,"version3"))
+                             {
+@@ -356,11 +356,11 @@
+                             }
+                         }
+                         else
+-                            if (event.packet->dataLength==sizeof(Uint32)) //We have recieved a seed
++                            if (event.packet->dataLength==sizeof(Uint32)) //We have received a seed
+                             {
+                                 memcpy(&theSeed,event.packet->data,sizeof(Uint32));
+                                 bgHome->putStartBlocks(theSeed);
+-                                cout << "We recieved a seed: " << theSeed << endl;
++                                cout << "We received a seed: " << theSeed << endl;
+                             }
+                 }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 84ea6fe..a559ef4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 gcc44.diff
 fix-scons-paths.patch
+fix-spelling-errors.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/blockattack.git



More information about the Pkg-games-commits mailing list