summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-12-15 00:03:01 +0000
committerMike Buland <eichlan@xagasoft.com>2009-12-15 00:03:01 +0000
commit5eba456f0147b12a6247cd7aa41e55d121962358 (patch)
tree967e039b587906aa06491b1bc5479219115e20e4 /src
parente35e62a080ac636f5820b2f88f75a1383f14d713 (diff)
downloadlibbu++-5eba456f0147b12a6247cd7aa41e55d121962358.tar.gz
libbu++-5eba456f0147b12a6247cd7aa41e55d121962358.tar.bz2
libbu++-5eba456f0147b12a6247cd7aa41e55d121962358.tar.xz
libbu++-5eba456f0147b12a6247cd7aa41e55d121962358.zip
Bugfix in Bu::FBasicString for null string comparisons.
Diffstat (limited to 'src')
-rw-r--r--src/fbasicstring.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fbasicstring.h b/src/fbasicstring.h
index 1c1f8a2..5271b62 100644
--- a/src/fbasicstring.h
+++ b/src/fbasicstring.h
@@ -1467,8 +1467,8 @@ namespace Bu
1467 return true; 1467 return true;
1468 if( core->pFirst == pData.core->pFirst ) 1468 if( core->pFirst == pData.core->pFirst )
1469 return true; 1469 return true;
1470 if( core->pFirst == NULL ) 1470 if( (core->pFirst == 0 && pData.core->nLength == 0) )
1471 return false; 1471 return true;
1472 if( core->nLength != pData.core->nLength ) 1472 if( core->nLength != pData.core->nLength )
1473 return false; 1473 return false;
1474 1474