DIRECTOR: Fix typo

This commit is contained in:
Nathanael Gentry 2020-08-05 00:43:39 -04:00
parent 45c329df6c
commit 4c75242ae7
2 changed files with 2 additions and 2 deletions

View File

@ -419,7 +419,7 @@ Common::String pathMakeRelative(Common::String path, bool recursive, bool addext
return initialPath;
}
Common::String testExtensions(Common::String component, Common::String initialPath, Common::String convPath) {
Common::String testExtensions(Common::String component, Common::String initialPath, Common::String convPath) {
const char *exts[] = { ".MMM", ".DIR", ".DXR", 0 };
for (int i = 0; exts[i]; ++i) {
Common::String newpath = convPath + (strcmp(exts[i], ".MMM") == 0 ? convertMacFilename(component.c_str()) : component.c_str()) + exts[i];

View File

@ -42,7 +42,7 @@ bool testPath(Common::String &path);
Common::String pathMakeRelative(Common::String path, bool recursive = true, bool addexts = true);
Common::String testExtensions(Common::String component, Common::String initialPath, Common::String convPath);
Common::String testExtensions(Common::String component, Common::String initialPath, Common::String convPath);
Common::String getFileName(Common::String path);