r11885 - in packages/trunk/blockattack/debian: . patches

Paul Wise pabs at alioth.debian.org
Thu Mar 10 12:10:21 UTC 2011


Author: pabs
Date: 2011-03-10 12:10:04 +0000 (Thu, 10 Mar 2011)
New Revision: 11885

Added:
   packages/trunk/blockattack/debian/patches/fix-spelling-errors.patch
Modified:
   packages/trunk/blockattack/debian/changelog
   packages/trunk/blockattack/debian/patches/series
Log:
Fix some spelling errors

Modified: packages/trunk/blockattack/debian/changelog
===================================================================
--- packages/trunk/blockattack/debian/changelog	2011-03-10 10:36:41 UTC (rev 11884)
+++ packages/trunk/blockattack/debian/changelog	2011-03-10 12:10:04 UTC (rev 11885)
@@ -14,6 +14,7 @@
   * 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
 

Added: packages/trunk/blockattack/debian/patches/fix-spelling-errors.patch
===================================================================
--- packages/trunk/blockattack/debian/patches/fix-spelling-errors.patch	                        (rev 0)
+++ packages/trunk/blockattack/debian/patches/fix-spelling-errors.patch	2011-03-10 12:10:04 UTC (rev 11885)
@@ -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;
+                             }
+                 }
+ 

Modified: packages/trunk/blockattack/debian/patches/series
===================================================================
--- packages/trunk/blockattack/debian/patches/series	2011-03-10 10:36:41 UTC (rev 11884)
+++ packages/trunk/blockattack/debian/patches/series	2011-03-10 12:10:04 UTC (rev 11885)
@@ -1,2 +1,3 @@
 gcc44.diff
 fix-scons-paths.patch
+fix-spelling-errors.patch




More information about the Pkg-games-commits mailing list