This commit is contained in:
Geoff Thorpe 2000-05-29 02:42:57 +00:00
parent 360370d953
commit e9e6b88b35

View File

@ -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);