mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
CREATE_PROJECT: Don't include files with the same name but different paths
This commit is contained in:
@@ -202,7 +202,7 @@ void CodeBlocksProvider::createProjectFile(const std::string &name, const std::s
|
||||
modulePath.erase(0, 1);
|
||||
}
|
||||
|
||||
if (modulePath.size())
|
||||
if (!modulePath.empty())
|
||||
addFilesToProject(moduleDir, project, includeList, excludeList, setup.filePrefix + '/' + modulePath);
|
||||
else
|
||||
addFilesToProject(moduleDir, project, includeList, excludeList, setup.filePrefix);
|
||||
|
||||
Reference in New Issue
Block a user