diff options
author | Mike Buland <eichlan@xagasoft.com> | 2008-04-29 14:30:43 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2008-04-29 14:30:43 +0000 |
commit | 711caf2fc55c16272fbcd2bfb9ffe315ecaf5a1a (patch) | |
tree | c1a415b28f95a37a2cb1f626dcc7f575713c1d57 /src/logger.cpp | |
parent | 2a49987a29270e14b5a9396b0ab3b7b4588770c3 (diff) | |
download | libbu++-711caf2fc55c16272fbcd2bfb9ffe315ecaf5a1a.tar.gz libbu++-711caf2fc55c16272fbcd2bfb9ffe315ecaf5a1a.tar.bz2 libbu++-711caf2fc55c16272fbcd2bfb9ffe315ecaf5a1a.tar.xz libbu++-711caf2fc55c16272fbcd2bfb9ffe315ecaf5a1a.zip |
Very minor, just fixed the borders on the hexdump.
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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, | |||
159 | const unsigned char *pData = (const unsigned char *)pDataV; | 159 | const unsigned char *pData = (const unsigned char *)pDataV; |
160 | int j = 0; | 160 | int j = 0; |
161 | Bu::FString sBorder; | 161 | Bu::FString sBorder; |
162 | for( int l = 0; l < 8*3+2*8+2; l++ ) sBorder += ((l!=8*3)?("-"):("+")); | 162 | for( int l = 0; l < 8*3+2*8+2+5; l++ ) sBorder += ((l!=11&&l!=37)?("-"):("+")); |
163 | log( nLevel, sFile, sFunction, nLine, sBorder.getStr() ); | 163 | log( nLevel, sFile, sFunction, nLine, sBorder.getStr() ); |
164 | Bu::FString sLine; | 164 | Bu::FString sLine; |
165 | for(;;) | 165 | for(;;) |
166 | { | 166 | { |
167 | { | 167 | { |
168 | char buf[15]; | 168 | char buf[16]; |
169 | sprintf( buf, "%010d| ", j ); | 169 | sprintf( buf, "%010d | ", j ); |
170 | sLine += buf; | 170 | sLine += buf; |
171 | } | 171 | } |
172 | int kmax = 8; | 172 | int kmax = 8; |