Removed unused hexchat_filename_*_utf8 macros.
This commit is contained in:
parent
65c8494698
commit
99a1fff590
|
@ -632,7 +632,4 @@ struct popup
|
||||||
/* CL: get a random int in the range [0..n-1]. DON'T use rand() % n, it gives terrible results. */
|
/* 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)))
|
#define RAND_INT(n) ((int)(rand() / (RAND_MAX + 1.0) * (n)))
|
||||||
|
|
||||||
#define hexchat_filename_from_utf8 g_filename_from_utf8
|
|
||||||
#define hexchat_filename_to_utf8 g_filename_to_utf8
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1652,7 +1652,7 @@ mg_dnd_drop_file (session *sess, char *target, char *uri)
|
||||||
if (fname)
|
if (fname)
|
||||||
{
|
{
|
||||||
/* dcc_send() expects utf-8 */
|
/* dcc_send() expects utf-8 */
|
||||||
p = hexchat_filename_to_utf8 (fname, -1, 0, 0, 0);
|
p = g_filename_from_utf8 (fname, -1, 0, 0, 0);
|
||||||
if (p)
|
if (p)
|
||||||
{
|
{
|
||||||
dcc_send (sess, target, p, prefs.hex_dcc_max_send_cps, 0);
|
dcc_send (sess, target, p, prefs.hex_dcc_max_send_cps, 0);
|
||||||
|
|
Loading…
Reference in New Issue