aboutsummaryrefslogtreecommitdiff
path: root/zencore/string.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-03-23 23:16:22 +0100
committerDan Engelbrecht <[email protected]>2022-03-31 11:29:27 +0200
commit3da85d8c5479e2d21476cc01bb628d6434d02749 (patch)
tree1205c7c032dd7169b0d41c0297472e2dabdc4621 /zencore/string.cpp
parentreduce lock times (diff)
downloadzen-3da85d8c5479e2d21476cc01bb628d6434d02749.tar.xz
zen-3da85d8c5479e2d21476cc01bb628d6434d02749.zip
Rename FormatHex to ToHex
Diffstat (limited to 'zencore/string.cpp')
-rw-r--r--zencore/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/string.cpp b/zencore/string.cpp
index f116ac477..933d210e7 100644
--- a/zencore/string.cpp
+++ b/zencore/string.cpp
@@ -349,7 +349,7 @@ ParseHex(const std::string HexString, uint32_t& OutValue)
static const char HexLUT[] = "0123456789abcdef";
void
-FormatHex(uint32_t Value, char OutBlockHexString[9])
+ToHex(uint32_t Value, char OutBlockHexString[9])
{
OutBlockHexString[0] = HexLUT[(Value >> 28) & 0xf];
OutBlockHexString[1] = HexLUT[(Value >> 24) & 0xf];