Revert "[saco] Match GetColorFromEmbedCode(char*); retail spells the first hex test out longhand"

This reverts commit ab897be9e7.
This commit is contained in:
RD42 committed 2026-10-04 19:20:38 +02:00
1 parent dc594accd1
commit a4fd8926df
1 file changed
+1 -1
+1 -1
View File
@@ -1270,7 +1270,7 @@ BOOL IsHexChar(wchar_t c)
DWORD GetColorFromEmbedCode(char *szString)
{
if(szString[0] && szString[0] == '{'
&& szString[1] && (szString[1] >= '0' && szString[1] <= '9' || szString[1] >= 'A' && szString[1] <= 'F' || szString[1] >= 'a' && szString[1] <= 'f')
&& szString[1] && IsHexChar(szString[1])
&& szString[2] && IsHexChar(szString[2])
&& szString[3] && IsHexChar(szString[3])
&& szString[4] && IsHexChar(szString[4])