mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
Fixed a missing return value in the lastPathComponent function. Thanks to Raziel_AOne :)
svn-id: r29172
This commit is contained in:
parent
8a73ce38bb
commit
9cdb195df7
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user