libpurple/protocols/mxit/splashscreen.c

changeset 33763
d7b8bff10713
parent 33760
66611fba7197
child 33843
20d3040431eb
--- 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);
 		g_unlink(filename);
 		g_free(filename);
 
@@ -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)) {
 		char buf[128];
 

mercurial