From f5aca1a1b402bd7ebc944dc6e6fe65828d863365 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 02:14:08 +0000 Subject: Bu::FString is now String, and there's a shell script to fix any other programs that were using fstring, I hope. --- src/logger.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/logger.cpp') diff --git a/src/logger.cpp b/src/logger.cpp index 9f734a9..eb5ac2d 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -69,7 +69,7 @@ void Bu::Logger::log( uint32_t nLevel, const char *sFile, const char *sFunction, #endif } -void Bu::Logger::setFormat( const Bu::FString &str ) +void Bu::Logger::setFormat( const Bu::String &str ) { sLogFormat = ""; @@ -93,7 +93,7 @@ void Bu::Logger::setFormat( const Bu::FString &str ) if( *s == '%' ) { sLogFormat += '%'; - Bu::FString sBuf; + Bu::String sBuf; for(;;) { s++; @@ -166,10 +166,10 @@ void Bu::Logger::hexDump( uint32_t nLevel, const char *sFile, log( nLevel, sFile, sFunction, nLine, "Displaying %ld bytes of %s.", nDataLen, lpName ); const unsigned char *pData = (const unsigned char *)pDataV; int j = 0; - Bu::FString sBorder; + Bu::String sBorder; for( int l = 0; l < 8*3+2*8+2+5; l++ ) sBorder += ((l!=11&&l!=37)?("-"):("+")); log( nLevel, sFile, sFunction, nLine, sBorder.getStr() ); - Bu::FString sLine; + Bu::String sLine; for(;;) { { -- cgit v1.2.3