Skip to content

Commit 95be15c

Browse files
committed
fixed:can't load lib plugin moudle in linux
1 parent 4dc0b75 commit 95be15c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XEngine_Source/XEngine_ModuleConfigure/ModuleConfigure_Json/ModuleConfigure_Json.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ BOOL CModuleConfigure_Json::ModuleConfigure_Json_PluginFile(LPCTSTR lpszConfigFi
317317
st_PluginInfo.bEnable = st_JsonArray[i]["PluginEnable"].asBool();
318318
_tcscpy(st_PluginInfo.tszPluginFile, st_JsonArray[i]["PluginFile"].asCString());
319319

320-
if (NULL == _tcsstr(st_PluginInfo.tszPluginFile,_T(".")))
320+
if (NULL == _tcsstr(st_PluginInfo.tszPluginFile + 3,_T(".")))
321321
{
322322
#ifdef _MSC_BUILD
323323
_tcscat(st_PluginInfo.tszPluginFile, ".dll");

0 commit comments

Comments
 (0)