# HG changeset patch # User Evan Schoenberg # Date 1211335084 0 # Node ID 8fbfe45506a2819730c88910c3f2f75662c5b5e0 # Parent a7c09c653558b45a817aa68e4b32a773cc38f360 Don't include the space in the localized text at all for the text/code error separation diff -r a7c09c653558 -r 8fbfe45506a2 libpurple/protocols/jabber/message.c --- a/libpurple/protocols/jabber/message.c Wed May 21 01:56:52 2008 +0000 +++ b/libpurple/protocols/jabber/message.c Wed May 21 01:58:04 2008 +0000 @@ -411,10 +411,12 @@ } if(code) - code_txt = g_strdup_printf(_("%s(Code %s)"), (text ? " " : ""), code); + code_txt = g_strdup_printf(_("(Code %s)"), code); if(!jm->error) - jm->error = g_strdup_printf("%s%s", text ? text : "", + jm->error = g_strdup_printf("%s%s%s", + text ? text : "", + text && code_text ? " " : "", code_txt ? code_txt : ""); g_free(code_txt);