diff options
author | bviktor <bviktor@outlook.com> | 2012-10-23 12:18:59 -0700 |
---|---|---|
committer | bviktor <bviktor@outlook.com> | 2012-10-23 12:18:59 -0700 |
commit | ac9bbc6d9982e774cde9711e8d906978b78acdfd (patch) | |
tree | 083bed641aca97155e33eefa19ab9fcae316d4d8 /src/common/util.c | |
parent | a9fe82a1b8a61276ba7c1f8165f5f6c4cf3b556e (diff) | |
parent | 8902f52eb955b8102912c2de3ae57d962934e52b (diff) |
Merge pull request #180 from Arnavion/fix-filename-encoding
Fix filename encoding error for DCC transfers of files with non-ASCII characters in their name
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/common/util.c b/src/common/util.c index 54ad4f78..15184250 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -254,10 +254,7 @@ file_part (char *file) { case 0: return (filepart); - case '/': -#ifdef WIN32 - case '\\': -#endif + case G_DIR_SEPARATOR: filepart = file + 1; break; } |