1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-12 04:15:05 -05:00

Quickfix for plugin breakage after the DCC patch

This commit is contained in:
Berke Viktor 2012-10-25 00:18:02 +02:00
parent d6dec82d3d
commit 842e74dce8

View File

@ -254,7 +254,10 @@ file_part (char *file)
{ {
case 0: case 0:
return (filepart); return (filepart);
case G_DIR_SEPARATOR: case '/':
#ifdef WIN32
case '\\':
#endif
filepart = file + 1; filepart = file + 1;
break; break;
} }