Fixed a missing return value in the lastPathComponent function. Thanks to Raziel_AOne :)

svn-id: r29172
This commit is contained in:
David Corrales 2007-10-07 20:42:46 +00:00
parent 8a73ce38bb
commit 9cdb195df7

View File

@ -116,7 +116,7 @@ const char *lastPathComponent(const Common::String &str) {
if (offset <= 0) {
debug(6, "Bad offset");
return;
return 0;
}
const char *p = str.c_str();