aboutsummaryrefslogtreecommitdiff
path: root/base/game.h
diff options
context:
space:
mode:
authorMax Horn2008-07-20 16:28:06 +0000
committerMax Horn2008-07-20 16:28:06 +0000
commit22ab05aa8a8260f6b0863d951025f9c233fd777d (patch)
tree9996e49741ac0e54db33158bbf035cf089715440 /base/game.h
parenta49a3c6aaa31e3a59c0fa2fec87f82764e6c2bc2 (diff)
downloadscummvm-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.h2
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);