You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Replace NULL with nullptr
This commit is contained in:
@@ -39,9 +39,9 @@
|
||||
|
||||
bool osx_is_app_bundle_installed(const String &p_bundle_id) {
|
||||
|
||||
CFURLRef app_url = NULL;
|
||||
CFStringRef bundle_id = CFStringCreateWithCString(NULL, p_bundle_id.utf8(), kCFStringEncodingUTF8);
|
||||
OSStatus result = LSFindApplicationForInfo(kLSUnknownCreator, bundle_id, NULL, NULL, &app_url);
|
||||
CFURLRef app_url = nullptr;
|
||||
CFStringRef bundle_id = CFStringCreateWithCString(nullptr, p_bundle_id.utf8(), kCFStringEncodingUTF8);
|
||||
OSStatus result = LSFindApplicationForInfo(kLSUnknownCreator, bundle_id, nullptr, nullptr, &app_url);
|
||||
CFRelease(bundle_id);
|
||||
|
||||
if (app_url)
|
||||
|
||||
Reference in New Issue
Block a user