This commit is contained in:
bkaradzic 2012-11-25 22:14:47 -08:00
parent 12fe3f684e
commit e3b0a82f0d
2 changed files with 396 additions and 396 deletions

View file

@ -333,7 +333,7 @@ private:
uint32_t asciiPos = 0;
for (uint32_t ii = 0; ii < size; ++ii)
{
_snprintf(&hex[hexPos], sizeof(hex)-hexPos, "0x%02x, ", data[asciiPos]);
bx::snprintf(&hex[hexPos], sizeof(hex)-hexPos, "0x%02x, ", data[asciiPos]);
hexPos += 6;
ascii[asciiPos] = isprint(data[asciiPos]) && data[asciiPos] != '\\' ? data[asciiPos] : '.';