r2051 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Dec 17 16:37:56 EST 2006
Author: div0
Date: 2006-12-17 16:37:56 -0500 (Sun, 17 Dec 2006)
New Revision: 2051
Modified:
trunk/data/qcsrc/server/miscfunctions.qc
Log:
strstr broke
Modified: trunk/data/qcsrc/server/miscfunctions.qc
===================================================================
--- trunk/data/qcsrc/server/miscfunctions.qc 2006-12-17 16:50:50 UTC (rev 2050)
+++ trunk/data/qcsrc/server/miscfunctions.qc 2006-12-17 21:37:56 UTC (rev 2051)
@@ -169,7 +169,7 @@
string found;
len = strlen(needle);
endpos = strlen(haystack) - len;
- while(offset < endpos)
+ while(offset <= endpos)
{
found = substring(haystack, offset, len);
if(found == needle)
More information about the nexuiz-commits
mailing list