diff options
Diffstat (limited to 'src/fstring.h')
-rw-r--r-- | src/fstring.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fstring.h b/src/fstring.h index be88ec0..00bb12c 100644 --- a/src/fstring.h +++ b/src/fstring.h | |||
@@ -75,8 +75,11 @@ namespace Bu | |||
75 | pFirst( NULL ), | 75 | pFirst( NULL ), |
76 | pLast( NULL ) | 76 | pLast( NULL ) |
77 | { | 77 | { |
78 | rSrc.flatten(); | 78 | if( rSrc.nLength > 0 ) |
79 | append( rSrc.pFirst->pData, rSrc.nLength ); | 79 | { |
80 | rSrc.flatten(); | ||
81 | append( rSrc.pFirst->pData, rSrc.nLength ); | ||
82 | } | ||
80 | } | 83 | } |
81 | 84 | ||
82 | FBasicString( const MyType &rSrc, long nLength ) : | 85 | FBasicString( const MyType &rSrc, long nLength ) : |