1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-08-13 16:53:48 -04: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;
} }