diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-25 00:18:02 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-25 00:18:02 +0200 |
commit | 842e74dce81f031439d2c1dc30dfff20c39eafa0 (patch) | |
tree | a61e9b0435887dae9db1304f23a8a5cfd5514bae /src/common | |
parent | d6dec82d3d5bf2b130fa8c989c5650710e5b703e (diff) |
Quickfix for plugin breakage after the DCC patch
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |