emotion: forgottent strange Windows rules.

SVN revision: 60638
This commit is contained in:
Cedric BAIL 2011-06-23 15:33:34 +00:00
parent 3c8eb1b62b
commit 46d3cd2c29
1 changed files with 5 additions and 1 deletions

View File

@ -385,7 +385,11 @@ em_file_open(const char *file,
eina_strbuf_append(sbuf, "file://");
if (strncmp(file, "./", 2) == 0)
file += 2;
if (*file != '/')
if (strstr(file, ":/") != NULL)
{ /* We absolutly need file:///C:/ under Windows, so adding it here */
eina_strbuf_append(sbuf, "/");
}
else if (*file != '/')
{
char tmp[PATH_MAX];