1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-21 16:55:02 -05:00

fishlim: Use proper filesystem encoding for files

This commit is contained in:
TingPing 2014-12-12 05:29:43 -05:00
parent ce396b3ddb
commit 7769bc99fe

View File

@ -52,7 +52,13 @@ static hexchat_plugin *ph;
* Returns the path to the key store file.
*/
gchar *get_config_filename() {
return g_build_filename(hexchat_get_info(ph, "configdir"), "addon_fishlim.conf", NULL);
char *filename_fs, *filename_utf8;
filename_utf8 = g_build_filename(hexchat_get_info(ph, "configdir"), "addon_fishlim.conf", NULL);
filename_fs = g_filename_from_utf8 (filename_utf8, -1, NULL, NULL, NULL);
g_free (filename_utf8);
return filename_fs;
}
int irc_nick_cmp(const char *a, const char *b) {