changeset 23079:8fbfe45506a2

Don't include the space in the localized text at all for the text/code error separation
author Evan Schoenberg <evan.s@dreskin.net>
date Wed, 21 May 2008 01:58:04 +0000
parents a7c09c653558
children 16bdfbe5b0b4
files libpurple/protocols/jabber/message.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);