From 05ab96a6157260f331f4520865f3a3444dce45d8 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sun, 7 Feb 2021 16:09:50 +1100 Subject: [PATCH] whoops --- src/Platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Platform.c b/src/Platform.c index 7bc8aca8b..d8ea8b51a 100644 --- a/src/Platform.c +++ b/src/Platform.c @@ -1864,7 +1864,7 @@ static cc_result GetMachineID(cc_uint32* key) { #ifdef kIOPlatformUUIDKey uuid = IORegistryEntryCreateCFProperty(registry, CFSTR(kIOPlatformUUIDKey), kCFAllocatorDefault, 0); - if (uuid && CFStringGetCString(uuid, tmp, sizeof(tmp), kCFStringEncodingUTF8))) { + if (uuid && CFStringGetCString(uuid, tmp, sizeof(tmp), kCFStringEncodingUTF8)) { DecodeMachineID(tmp, String_Length(tmp), key); } #endif