diff -r 9ddeb8b03876 -r c70b98c75fca pidgin/plugins/gevolution/gevolution.c --- a/pidgin/plugins/gevolution/gevolution.c Thu May 27 19:45:20 2010 +0000 +++ b/pidgin/plugins/gevolution/gevolution.c Thu May 27 19:49:51 2010 +0000 @@ -227,12 +227,12 @@ char *app = g_find_program_in_path("evolution"); if (app != NULL) { - char *command_line = g_strdup_printf("%s mailto:%s", app, mail); - char *quoted = g_shell_quote(command_line); + char *quoted = g_shell_quote(mail); + char *command_line = g_strdup_printf("%s mailto:%s", app, quoted); g_free(app); g_free(mail); - g_spawn_command_line_async(quoted, NULL); + g_spawn_command_line_async(command_line, NULL); g_free(command_line); g_free(quoted); }