summaryrefslogtreecommitdiff
path: root/src/fstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fstring.h')
-rw-r--r--src/fstring.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fstring.h b/src/fstring.h
index f52b6f1..72ac99d 100644
--- a/src/fstring.h
+++ b/src/fstring.h
@@ -676,7 +676,10 @@ namespace Bu
676 void copyFrom( const FBasicString<chr, nMinSize, chralloc, chunkalloc> &rSrc ) 676 void copyFrom( const FBasicString<chr, nMinSize, chralloc, chunkalloc> &rSrc )
677 { 677 {
678 if( rSrc.pFirst == NULL ) 678 if( rSrc.pFirst == NULL )
679 {
680 clear();
679 return; 681 return;
682 }
680 683
681 Chunk *pNew = newChunk( rSrc.nLength ); 684 Chunk *pNew = newChunk( rSrc.nLength );
682 chr *pos = pNew->pData; 685 chr *pos = pNew->pData;