diff options
author | qarkai <qarkai@gmail.com> | 2017-10-08 20:31:38 +0300 |
---|---|---|
committer | qarkai <qarkai@gmail.com> | 2017-10-08 20:31:38 +0300 |
commit | 20167991da0e440ac4b06dbe3c48ad46679b9a14 (patch) | |
tree | 4a9647a4bd349ab89972ac0b32668734843dd9dd /libpurple | |
parent | ba82a340af2b758a57eb4ee22b42a45dd5f59fd7 (diff) | |
download | pidgin-20167991da0e440ac4b06dbe3c48ad46679b9a14.tar.gz |
Some fixes
Diffstat (limited to 'libpurple')
-rw-r--r-- | libpurple/core.h | 2 | ||||
-rw-r--r-- | libpurple/util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libpurple/core.h b/libpurple/core.h index 4af45f9397..40968534a8 100644 --- a/libpurple/core.h +++ b/libpurple/core.h @@ -232,7 +232,7 @@ GHashTable* purple_core_get_ui_info(void); * Migrates from legacy directory for libpurple to location following * XDG base dir spec. https://developer.pidgin.im/ticket/10029 * NOTE This is not finished yet. Need to decide where other profile files - * should be moved. + * should be moved. Search for usages of purple_user_dir(). * * Returns: TRUE if migrated successfully, FALSE otherwise. On failure, * the application must display an error to the user and then exit. diff --git a/libpurple/util.c b/libpurple/util.c index 0bfdb4b8b7..e1a69be071 100644 --- a/libpurple/util.c +++ b/libpurple/util.c @@ -3050,7 +3050,7 @@ purple_util_write_data_to_file_common(const char *dir, const char *filename, con } } - filename_full = g_strdup_printf("%s" G_DIR_SEPARATOR_S "%s", dir, filename); + filename_full = g_build_filename(dir, filename, NULL); ret = purple_util_write_data_to_file_absolute(filename_full, data, size); |