pidgin/plugins/win32/winprefs/winprefs.c

changeset 35901
5bcb306a4edf
parent 35896
bfee243ed8b1
child 37139
5eb4f6b78114
--- a/pidgin/plugins/win32/winprefs/winprefs.c	Thu Apr 24 21:18:44 2014 +0200
+++ b/pidgin/plugins/win32/winprefs/winprefs.c	Fri Apr 25 12:52:39 2014 +0200
@@ -190,7 +190,7 @@
 	char *runval = NULL;
 
 	if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w)))
-		runval = g_strdup_printf("\"%s" G_DIR_SEPARATOR_S "pidgin.exe\"", wpurple_install_dir());
+		runval = g_strdup_printf("\"%s" G_DIR_SEPARATOR_S "pidgin.exe\"", wpurple_bin_dir());
 
 	if(!wpurple_write_reg_string(HKEY_CURRENT_USER, RUNKEY, "Pidgin", runval)
 		/* For Win98 */

mercurial