[quake3-commits] r1881 - trunk/code/game

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Feb 8 16:38:49 EST 2011


Author: thilo
Date: 2011-02-08 16:38:49 -0500 (Tue, 08 Feb 2011)
New Revision: 1881

Modified:
   trunk/code/game/bg_lib.c
Log:
It's late, I'm tired.


Modified: trunk/code/game/bg_lib.c
===================================================================
--- trunk/code/game/bg_lib.c	2011-02-08 21:27:45 UTC (rev 1880)
+++ trunk/code/game/bg_lib.c	2011-02-08 21:38:49 UTC (rev 1881)
@@ -280,12 +280,12 @@
 	{
 		if(dest > src)
 		{
-			i = count - 1;
+			i = count;
 			
 			do
 			{
+				i--;
 				((char *) dest)[i] = ((char *) src)[i];
-				i--;
 			} while(i > 0);
 		}
 		else



More information about the quake3-commits mailing list