diff options
Diffstat (limited to 'src/fstring.h')
-rw-r--r-- | src/fstring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fstring.h b/src/fstring.h index 9d88bd4..fe34804 100644 --- a/src/fstring.h +++ b/src/fstring.h | |||
@@ -128,6 +128,7 @@ namespace Bu | |||
128 | */ | 128 | */ |
129 | void append( const chr *pData ) | 129 | void append( const chr *pData ) |
130 | { | 130 | { |
131 | if( !pData ) return; | ||
131 | long nLen; | 132 | long nLen; |
132 | for( nLen = 0; pData[nLen] != (chr)0; nLen++ ); | 133 | for( nLen = 0; pData[nLen] != (chr)0; nLen++ ); |
133 | if( nLen == 0 ) | 134 | if( nLen == 0 ) |