From 9b0da733ccbd8da05ec52b4a35e24c69961162db Mon Sep 17 00:00:00 2001 From: "False.Genesis" Date: Sun, 30 Sep 2007 10:27:00 +0000 Subject: [PATCH] *fixed toHexDump once more. didnt see that yesterday, was tired. --- src/shared/tools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/tools.cpp b/src/shared/tools.cpp index 856384f..b776a1e 100644 --- a/src/shared/tools.cpp +++ b/src/shared/tools.cpp @@ -94,7 +94,7 @@ std::string toHexDump(uint8* array,uint32 size,bool spaces) { if(array[i]) { - sprintf(buf,(array[i]<0x0F)?"0%X":"%X",(uint32)array[i]); + sprintf(buf,(array[i]<=0x0F)?"0%X":"%X",(uint32)array[i]); ss << buf; } else