--- a/libpurple/protocols/mxit/splashscreen.c Mon Feb 18 17:59:15 2013 -0800
+++ b/libpurple/protocols/mxit/splashscreen.c Mon Feb 18 18:47:11 2013 -0800
@@ -93,7 +93,7 @@
purple_debug_info(MXIT_PLUGIN_ID, "Removing splashId: '%s'\n", splashId);
/* Delete stored splash image */
- filename = g_strdup_printf("%s/mxit/%s.png", purple_user_dir(), splashId);
+ filename = g_strdup_printf("%s" G_DIR_SEPARATOR_S "mxit" G_DIR_SEPARATOR_S "%s.png", purple_user_dir(), splashId); @@ -179,7 +179,7 @@
purple_debug_info(MXIT_PLUGIN_ID, "Display Splash: '%s'\n", splashId);
/* Load splash-screen image from file */
- filename = g_strdup_printf("%s/mxit/%s.png", purple_user_dir(), splashId);
+ filename = g_strdup_printf("%s" G_DIR_SEPARATOR_S "mxit" G_DIR_SEPARATOR_S "%s.png", purple_user_dir(), splashId); if (g_file_get_contents(filename, &imgdata, &imglen, NULL)) {