diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/chat_entry.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/chat_entry.c b/src/ui/chat_entry.c index 85e2727..91c37b7 100644 --- a/src/ui/chat_entry.c +++ b/src/ui/chat_entry.c | |||
@@ -169,13 +169,12 @@ ui_chat_entry_update(UI_CHAT_ENTRY_Handle *handle, | |||
169 | 169 | ||
170 | if (group) | 170 | if (group) |
171 | { | 171 | { |
172 | GString *message_text = g_string_new( | 172 | GString *message_text = g_string_new(NULL); |
173 | gtk_label_get_text(last_message->sender_label) | ||
174 | ); | ||
175 | 173 | ||
176 | g_string_append_printf( | 174 | g_string_append_printf( |
177 | message_text, | 175 | message_text, |
178 | _(": %s"), | 176 | "%s: %s", |
177 | gtk_label_get_text(last_message->sender_label), | ||
179 | text | 178 | text |
180 | ); | 179 | ); |
181 | 180 | ||