summaryrefslogtreecommitdiff
path: root/platform/osx/export/plist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/osx/export/plist.cpp')
-rw-r--r--platform/osx/export/plist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/osx/export/plist.cpp b/platform/osx/export/plist.cpp
index 3580ad877d..d089233b80 100644
--- a/platform/osx/export/plist.cpp
+++ b/platform/osx/export/plist.cpp
@@ -343,8 +343,8 @@ PList::PList(const String &p_string) {
bool PList::load_file(const String &p_filename) {
root = Ref<PListNode>();
- FileAccessRef fb = FileAccess::open(p_filename, FileAccess::READ);
- if (!fb) {
+ Ref<FileAccess> fb = FileAccess::open(p_filename, FileAccess::READ);
+ if (fb.is_null()) {
return false;
}