mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
better formatting for hexdump offsets
This commit is contained in:
parent
3ecd0a4b03
commit
efbb676cce
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ log_hex( const XP_U8* memp, XP_U16 len, const char* tag )
|
|||
if ( (NULL == tag) || (XP_STRLEN(tag) + sizeof(vals) >= sizeof(buf)) ) {
|
||||
tag = "<tag>";
|
||||
}
|
||||
XP_SNPRINTF( buf, sizeof(buf), "%s[%d]: %s %s", tag, oldOffset,
|
||||
XP_SNPRINTF( buf, sizeof(buf), "%s[%.3d]: %s %s", tag, oldOffset,
|
||||
vals, chars );
|
||||
XP_LOGF( "%s", buf );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue