aboutsummaryrefslogtreecommitdiff
path: root/common/platform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/platform.cpp')
-rw-r--r--common/platform.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/platform.cpp b/common/platform.cpp
index 6898993b33..0049666912 100644
--- a/common/platform.cpp
+++ b/common/platform.cpp
@@ -56,7 +56,7 @@ const PlatformDescription g_platforms[] = {
{ "os2", "os2", "os2", "OS/2", kPlatformOS2 },
{ "beos", "beos", "beos", "BeOS", kPlatformBeOS },
- { 0, 0, 0, "Default", kPlatformUnknown }
+ { nullptr, nullptr, nullptr, "Default", kPlatformUnknown }
};
Platform parsePlatform(const String &str) {
@@ -88,7 +88,7 @@ const char *getPlatformCode(Platform id) {
if (l->id == id)
return l->code;
}
- return 0;
+ return nullptr;
}
const char *getPlatformAbbrev(Platform id) {
@@ -97,7 +97,7 @@ const char *getPlatformAbbrev(Platform id) {
if (l->id == id)
return l->abbrev;
}
- return 0;
+ return nullptr;
}
const char *getPlatformDescription(Platform id) {