forked from enlightenment/efl
emotion: forgottent strange Windows rules.
SVN revision: 60638
This commit is contained in:
parent
3c8eb1b62b
commit
46d3cd2c29
|
@ -385,7 +385,11 @@ em_file_open(const char *file,
|
||||||
eina_strbuf_append(sbuf, "file://");
|
eina_strbuf_append(sbuf, "file://");
|
||||||
if (strncmp(file, "./", 2) == 0)
|
if (strncmp(file, "./", 2) == 0)
|
||||||
file += 2;
|
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];
|
char tmp[PATH_MAX];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue