summary refs log tree commit diff stats
path: root/src/common/xchat.h
diff options
context:
space:
mode:
authorbviktor <bviktor@outlook.com>2012-10-23 12:18:59 -0700
committerbviktor <bviktor@outlook.com>2012-10-23 12:18:59 -0700
commitac9bbc6d9982e774cde9711e8d906978b78acdfd (patch)
tree083bed641aca97155e33eefa19ab9fcae316d4d8 /src/common/xchat.h
parenta9fe82a1b8a61276ba7c1f8165f5f6c4cf3b556e (diff)
parent8902f52eb955b8102912c2de3ae57d962934e52b (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/xchat.h')
-rw-r--r--src/common/xchat.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common/xchat.h b/src/common/xchat.h
index a19716f6..2980fc1c 100644
--- a/src/common/xchat.h
+++ b/src/common/xchat.h
@@ -589,12 +589,7 @@ struct popup
 /* CL: get a random int in the range [0..n-1]. DON'T use rand() % n, it gives terrible results. */
 #define RAND_INT(n) ((int)(rand() / (RAND_MAX + 1.0) * (n)))
 
-#ifdef WIN32
-#define xchat_filename_from_utf8 g_locale_from_utf8
-#define xchat_filename_to_utf8 g_locale_to_utf8
-#else
 #define xchat_filename_from_utf8 g_filename_from_utf8
 #define xchat_filename_to_utf8 g_filename_to_utf8
-#endif
 
 #endif