From 0ec41cb0237bc8c493d8c05c6af45ebfb9f36557 Mon Sep 17 00:00:00 2001 From: Bob Owen Date: Fri, 25 May 2012 21:42:25 +0100 Subject: * src/utils.c - generate_format_string_full - Changed space between date and time to Unicode en space. Added using UTF-8 hex encoding (0xE28082) to avoid the need to mess with CFLAGS to add std=c99. (LP: #749847) --- src/utils.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index e6de92a..f5aecd6 100644 --- a/src/utils.c +++ b/src/utils.c @@ -243,9 +243,10 @@ generate_format_string_full (gboolean show_day, gboolean show_date) g_return_val_if_fail(date_string != NULL, g_strdup(time_string)); /* TRANSLATORS: This is a format string passed to strftime to combine the - date and the time. The value of "%s %s" would result in a string like - this in US English 12-hour time: 'Fri Jul 16 11:50 AM' */ - return g_strdup_printf(T_("%s %s"), date_string, time_string); + date and the time. The value of "%s\xE2\x80\x82%s" would result in a string like + this in US English 12-hour time: 'Fri Jul 16 11:50 AM'. + The space in between date and time is a Unicode en space (E28082 in UTF-8 hex). */ + return g_strdup_printf(T_("%s\xE2\x80\x82%s"), date_string, time_string); } gchar * -- cgit v1.2.3