Fix typo in ExtensionSys::LoadAutoExtension (no bug, r=me).

This commit is contained in:
David Anderson 2013-03-31 09:50:46 -07:00
parent 6f2184901d
commit 4a0a509dd8

View File

@ -583,7 +583,7 @@ IExtension *CExtensionManager::LoadAutoExtension(const char *path)
char path2[PLATFORM_MAX_PATH];
smcore.Format(path2, sizeof(path2), "%s", path);
path2[strlen(path) - strlen(PLATFORM_LIB_EXT) - 1] = '\0';
return LoadAutoExtension(path);
return LoadAutoExtension(path2);
}
IExtension *pAlready;