oops.
This commit is contained in:
parent
360370d953
commit
e9e6b88b35
@ -119,8 +119,8 @@ static int win32_load(DSO *dso, const char *filename)
|
|||||||
len = strlen(filename);
|
len = strlen(filename);
|
||||||
if((dso->flags & DSO_FLAG_NAME_TRANSLATION) &&
|
if((dso->flags & DSO_FLAG_NAME_TRANSLATION) &&
|
||||||
(len + 4 < DSO_MAX_TRANSLATED_SIZE) &&
|
(len + 4 < DSO_MAX_TRANSLATED_SIZE) &&
|
||||||
(strstr(filename, "/") == NULL)
|
(strstr(filename, "/") == NULL) &&
|
||||||
(strstr(filename, "\\") == NULL)
|
(strstr(filename, "\\") == NULL) &&
|
||||||
(strstr(filename, ":") == NULL))
|
(strstr(filename, ":") == NULL))
|
||||||
{
|
{
|
||||||
sprintf(translated, "%s.dll", filename);
|
sprintf(translated, "%s.dll", filename);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user