提交 e9e6b88b 编写于 作者: G Geoff Thorpe

oops.

上级 360370d9
......@@ -119,8 +119,8 @@ static int win32_load(DSO *dso, const char *filename)
len = strlen(filename);
if((dso->flags & DSO_FLAG_NAME_TRANSLATION) &&
(len + 4 < DSO_MAX_TRANSLATED_SIZE) &&
(strstr(filename, "/") == NULL)
(strstr(filename, "\\") == NULL)
(strstr(filename, "/") == NULL) &&
(strstr(filename, "\\") == NULL) &&
(strstr(filename, ":") == NULL))
{
sprintf(translated, "%s.dll", filename);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册