提交 2b64f3f1 编写于 作者: M Magnus Hagander

MingW doesn't support wcstombs_s()...

上级 1e3b21dd
......@@ -45,8 +45,7 @@ DllInstall(BOOL bInstall,
size_t ret;
if (pszCmdLine && *pszCmdLine != '\0')
wcstombs_s(&ret, event_source, sizeof(event_source),
pszCmdLine, sizeof(event_source));
wcstombs(event_source, pszCmdLine, sizeof(event_source));
/*
* This is an ugly hack due to the strange behavior of "regsvr32 /i".
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册