diff options
author | Max Horn | 2008-07-20 16:28:06 +0000 |
---|---|---|
committer | Max Horn | 2008-07-20 16:28:06 +0000 |
commit | 22ab05aa8a8260f6b0863d951025f9c233fd777d (patch) | |
tree | 9996e49741ac0e54db33158bbf035cf089715440 /base/game.h | |
parent | a49a3c6aaa31e3a59c0fa2fec87f82764e6c2bc2 (diff) | |
download | scummvm-rg350-22ab05aa8a8260f6b0863d951025f9c233fd777d.tar.gz scummvm-rg350-22ab05aa8a8260f6b0863d951025f9c233fd777d.tar.bz2 scummvm-rg350-22ab05aa8a8260f6b0863d951025f9c233fd777d.zip |
Fixed nasty bug in findPlainGameDescriptor -- contrary to is documentation, it would not return 0 upon failure to find a match, but rather a (0,0) record.
svn-id: r33136
Diffstat (limited to 'base/game.h')
-rw-r--r-- | base/game.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/game.h b/base/game.h index 18d7967388..b068c300ce 100644 --- a/base/game.h +++ b/base/game.h @@ -48,7 +48,7 @@ struct PlainGameDescriptor { /** * Given a list of PlainGameDescriptors, returns the first PlainGameDescriptor * matching the given gameid. If not match is found return 0. - * The end of the list marked by a PlainGameDescriptor with gameid equal to 0. + * The end of the list must marked by a PlainGameDescriptor with gameid equal to 0. */ const PlainGameDescriptor *findPlainGameDescriptor(const char *gameid, const PlainGameDescriptor *list); |