From 711caf2fc55c16272fbcd2bfb9ffe315ecaf5a1a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 29 Apr 2008 14:30:43 +0000 Subject: Very minor, just fixed the borders on the hexdump. --- src/logger.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/logger.cpp') diff --git a/src/logger.cpp b/src/logger.cpp index 9bd2fa5..af529f5 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -159,14 +159,14 @@ void Bu::Logger::hexDump( uint32_t nLevel, const char *sFile, const unsigned char *pData = (const unsigned char *)pDataV; int j = 0; Bu::FString sBorder; - for( int l = 0; l < 8*3+2*8+2; l++ ) sBorder += ((l!=8*3)?("-"):("+")); + 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; for(;;) { { - char buf[15]; - sprintf( buf, "%010d| ", j ); + char buf[16]; + sprintf( buf, "%010d | ", j ); sLine += buf; } int kmax = 8; -- cgit v1.2.3