Skip to content
Permalink
Browse files

Merge pull request #1053 from nosoop/remote-ext-filename-check

Check short name for remote extensions
  • Loading branch information
dvander committed Nov 12, 2019
2 parents 9e39f18 + 5293815 commit d6e518838f412d2c52397d81b5fbfc0b63a70d88
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/logic/ExtensionSys.cpp
@@ -1364,7 +1364,7 @@ bool CLocalExtension::IsSameFile(const char *file)

bool CRemoteExtension::IsSameFile(const char *file)
{
/* :TODO: this could be better, but no one uses this API anyway. */
return strcmp(file, m_Path.c_str()) == 0;
/* Check full path and name passed in from LoadExternal */
return strcmp(file, m_Path.c_str()) == 0 || strcmp(file, m_File.c_str()) == 0;
}

0 comments on commit d6e5188

Please sign in to comment.
You can’t perform that action at this time.