From 842e74dce81f031439d2c1dc30dfff20c39eafa0 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Thu, 25 Oct 2012 00:18:02 +0200 Subject: Quickfix for plugin breakage after the DCC patch --- src/common/util.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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; } -- cgit 1.4.1