From 49af4dce0fdc569b623140ca5a711988281835d5 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 3 May 2010 19:42:41 +0000 Subject: Minor corner case fix in the comparison code. --- src/fbasicstring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 return true; if( core->pFirst == pData.core->pFirst ) return true; - if( (core->pFirst == 0 && pData.core->nLength == 0) ) + if( (core->nLength == 0 && pData.core->nLength == 0) ) return true; if( core->nLength != pData.core->nLength ) return false; -- cgit v1.2.3