mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-01-25 22:19:38 -06:00
build: Fix some more ObjC issues
This commit is contained in:
@@ -41,4 +41,4 @@
|
||||
free(ptr);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
CFRelease(urlRef);
|
||||
}
|
||||
|
||||
bool isMacosSystemDarkModeEnabled() {
|
||||
bool isMacosSystemDarkModeEnabled(void) {
|
||||
NSString * appleInterfaceStyle = [[NSUserDefaults standardUserDefaults] stringForKey:@"AppleInterfaceStyle"];
|
||||
|
||||
if (appleInterfaceStyle && [appleInterfaceStyle length] > 0) {
|
||||
@@ -25,4 +25,4 @@
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user