support Windows file system

patch by Nicolas Aguirre


SVN revision: 47346
This commit is contained in:
Vincent Torri 2010-03-19 18:24:58 +00:00
parent 2257453fe4
commit be6a95129a
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,8 @@ _elm_theme_theme_element_try(const char *home, const char *f, const char *group)
const char *file = NULL;
if ((f[0] == '/') || ((f[0] == '.') && (f[1] == '/')) ||
((f[0] == '.') && (f[1] == '.') && (f[2] == '/')))
((f[0] == '.') && (f[1] == '.') && (f[2] == '/')) ||
(isalpha(f[0]) && f[1] == ':'))
return _elm_theme_find_try(f, group);
else if (((f[0] == '~') && (f[1] == '/')))
{