mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-02 20:36:50 -05:00
Cleanup.
This commit is contained in:
parent
12fe3f684e
commit
e3b0a82f0d
2 changed files with 396 additions and 396 deletions
|
@ -333,7 +333,7 @@ private:
|
||||||
uint32_t asciiPos = 0;
|
uint32_t asciiPos = 0;
|
||||||
for (uint32_t ii = 0; ii < size; ++ii)
|
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;
|
hexPos += 6;
|
||||||
|
|
||||||
ascii[asciiPos] = isprint(data[asciiPos]) && data[asciiPos] != '\\' ? data[asciiPos] : '.';
|
ascii[asciiPos] = isprint(data[asciiPos]) && data[asciiPos] != '\\' ? data[asciiPos] : '.';
|
||||||
|
|
Loading…
Reference in a new issue