diff options
author | Chris Apers | 2004-01-21 13:35:27 +0000 |
---|---|---|
committer | Chris Apers | 2004-01-21 13:35:27 +0000 |
commit | 5bc6d14e339eca6829a2c48b9dde3aa5b0e67498 (patch) | |
tree | dce56c7d65a29eaff92d0d336836a7bb9a9edde1 /common | |
parent | 33d7e5a093e807e0e3b127342609471f3a903404 (diff) | |
download | scummvm-rg350-5bc6d14e339eca6829a2c48b9dde3aa5b0e67498.tar.gz scummvm-rg350-5bc6d14e339eca6829a2c48b9dde3aa5b0e67498.tar.bz2 scummvm-rg350-5bc6d14e339eca6829a2c48b9dde3aa5b0e67498.zip |
Prevent getPlatformDescription(...) from returing NULL pointer using kPlatformUnknown
svn-id: r12567
Diffstat (limited to 'common')
-rw-r--r-- | common/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |