diff options
Diffstat (limited to 'src/fstring.h')
-rw-r--r-- | src/fstring.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fstring.h b/src/fstring.h index 82e8b34..155d6af 100644 --- a/src/fstring.h +++ b/src/fstring.h | |||
@@ -353,7 +353,7 @@ namespace Bu | |||
353 | chr *getStr() | 353 | chr *getStr() |
354 | { | 354 | { |
355 | if( pFirst == NULL ) | 355 | if( pFirst == NULL ) |
356 | return NULL; | 356 | return (chr *)""; |
357 | 357 | ||
358 | flatten(); | 358 | flatten(); |
359 | pFirst->pData[nLength] = (chr)0; | 359 | pFirst->pData[nLength] = (chr)0; |
@@ -367,7 +367,7 @@ namespace Bu | |||
367 | const chr *getStr() const | 367 | const chr *getStr() const |
368 | { | 368 | { |
369 | if( pFirst == NULL ) | 369 | if( pFirst == NULL ) |
370 | return NULL; | 370 | return (chr *)""; |
371 | 371 | ||
372 | flatten(); | 372 | flatten(); |
373 | pFirst->pData[nLength] = (chr)0; | 373 | pFirst->pData[nLength] = (chr)0; |