aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-07-10 02:15:40 +0000
committerMike Buland <eichlan@xagasoft.com>2007-07-10 02:15:40 +0000
commit59b42558f5fca931c054df87d94c119f87130ec0 (patch)
tree772b2ff2931f9c965372fc321d0c51cf12a25154 /src
parent7b8cb00259043365e001992229dfaf50c60dd66b (diff)
downloadlibbu++-59b42558f5fca931c054df87d94c119f87130ec0.tar.gz
libbu++-59b42558f5fca931c054df87d94c119f87130ec0.tar.bz2
libbu++-59b42558f5fca931c054df87d94c119f87130ec0.tar.xz
libbu++-59b42558f5fca931c054df87d94c119f87130ec0.zip
Updated the FString to const char * string comparison, it should work better
now, but some more testing needs to be done.
Diffstat (limited to 'src')
-rw-r--r--src/fstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fstring.h b/src/fstring.h
index 31794d7..fe3daf1 100644
--- a/src/fstring.h
+++ b/src/fstring.h
@@ -399,7 +399,7 @@ namespace Bu
399 flatten(); 399 flatten();
400 const chr *a = pData; 400 const chr *a = pData;
401 chr *b = pFirst->pData; 401 chr *b = pFirst->pData;
402 for( ; *a!=(chr)0 || *b!=(chr)0; a++, b++ ) 402 for( long j = 0; *a!=(chr)0 && j < nLength; j++, a++, b++ )
403 { 403 {
404 if( *a != *b ) 404 if( *a != *b )
405 return false; 405 return false;