aboutsummaryrefslogtreecommitdiff
path: root/src/fbasicstring.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-05-03 19:42:41 +0000
committerMike Buland <eichlan@xagasoft.com>2010-05-03 19:42:41 +0000
commit49af4dce0fdc569b623140ca5a711988281835d5 (patch)
tree9b10acb653ec1995c4afd7de58cdc1aac78ff190 /src/fbasicstring.h
parenta4b8073f048a0d5847ebf1f89f48c9b201aef124 (diff)
downloadlibbu++-49af4dce0fdc569b623140ca5a711988281835d5.tar.gz
libbu++-49af4dce0fdc569b623140ca5a711988281835d5.tar.bz2
libbu++-49af4dce0fdc569b623140ca5a711988281835d5.tar.xz
libbu++-49af4dce0fdc569b623140ca5a711988281835d5.zip
Minor corner case fix in the comparison code.
Diffstat (limited to '')
-rw-r--r--src/fbasicstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fbasicstring.h b/src/fbasicstring.h
index 73951a6..7825600 100644
--- a/src/fbasicstring.h
+++ b/src/fbasicstring.h
@@ -1493,7 +1493,7 @@ namespace Bu
1493 return true; 1493 return true;
1494 if( core->pFirst == pData.core->pFirst ) 1494 if( core->pFirst == pData.core->pFirst )
1495 return true; 1495 return true;
1496 if( (core->pFirst == 0 && pData.core->nLength == 0) ) 1496 if( (core->nLength == 0 && pData.core->nLength == 0) )
1497 return true; 1497 return true;
1498 if( core->nLength != pData.core->nLength ) 1498 if( core->nLength != pData.core->nLength )
1499 return false; 1499 return false;