diff --git a/src/common/util.c b/src/common/util.c index 38a87f26..5120c25a 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -254,7 +254,10 @@ file_part (char *file) { case 0: return (filepart); - case G_DIR_SEPARATOR: + case '/': +#ifdef WIN32 + case '\\': +#endif filepart = file + 1; break; }