aboutsummaryrefslogtreecommitdiff
path: root/src/fstring.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-06-26 05:10:58 +0000
committerMike Buland <eichlan@xagasoft.com>2007-06-26 05:10:58 +0000
commitaa82dc64b397b6ca0d336d91638d4f4b849e3667 (patch)
treec17f285bf17f94812748424b854e8c3e437c25c2 /src/fstring.h
parent3f26c19b0b7a9fa73c58189788972ea43b72f014 (diff)
downloadlibbu++-aa82dc64b397b6ca0d336d91638d4f4b849e3667.tar.gz
libbu++-aa82dc64b397b6ca0d336d91638d4f4b849e3667.tar.bz2
libbu++-aa82dc64b397b6ca0d336d91638d4f4b849e3667.tar.xz
libbu++-aa82dc64b397b6ca0d336d91638d4f4b849e3667.zip
Fixed a minor bug in FString, and added the Logger and a test...it's cool, and
a decent replacement for multilog now that we use runit.
Diffstat (limited to 'src/fstring.h')
-rw-r--r--src/fstring.h1
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 )