mirror of
https://github.com/WerWolv/ImHex
synced 2024-10-22 02:32:26 +00:00
build: Fix some more ObjC issues
This commit is contained in:
parent
e6d14507e2
commit
45bb9e6706
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue