diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-05-03 19:42:41 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-05-03 19:42:41 +0000 |
commit | 49af4dce0fdc569b623140ca5a711988281835d5 (patch) | |
tree | 9b10acb653ec1995c4afd7de58cdc1aac78ff190 /src/fbasicstring.h | |
parent | a4b8073f048a0d5847ebf1f89f48c9b201aef124 (diff) | |
download | libbu++-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.h | 2 |
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; |