From 5bc6d14e339eca6829a2c48b9dde3aa5b0e67498 Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Wed, 21 Jan 2004 13:35:27 +0000 Subject: Prevent getPlatformDescription(...) from returing NULL pointer using kPlatformUnknown svn-id: r12567 --- common/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/util.cpp b/common/util.cpp index 21d10120cd..d92c680cb7 100644 --- a/common/util.cpp +++ b/common/util.cpp @@ -193,7 +193,7 @@ static const PlatformDescription g_platforms[] = { {"amiga", "Amiga", kPlatformAmiga}, {"atari", "Atari ST", kPlatformAtariST}, {"macintosh", "Macintosh", kPlatformMacintosh}, - {0, 0, kPlatformUnknown} + {0, "Default", kPlatformUnknown} }; Platform parsePlatform(const String &str) { -- cgit v1.2.3