summaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/OVR_Profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibOVR/Src/OVR_Profile.cpp')
-rw-r--r--LibOVR/Src/OVR_Profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibOVR/Src/OVR_Profile.cpp b/LibOVR/Src/OVR_Profile.cpp
index 12f4a46..3dc83f6 100644
--- a/LibOVR/Src/OVR_Profile.cpp
+++ b/LibOVR/Src/OVR_Profile.cpp
@@ -725,7 +725,7 @@ bool ProfileManager::SetDefaultUser(const DeviceBase* device, const char* user)
String product;
String serial;
if (!GetDeviceTags(device, product, serial))
- return NULL;
+ return false;
const char* product_str = product.IsEmpty() ? NULL : product.ToCStr();
const char* serial_str = serial.IsEmpty() ? NULL : serial.ToCStr();