summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/msg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/msg.c b/src/msg.c
index b400f0bd..973062ee 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -109,9 +109,9 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
if (data->width > -1 || data->height > -1)
gtk_window_set_default_size (GTK_WINDOW (dialog), data->width, data->height);
- if (msg_data->dialog_text)
- gtk_label_set_markup (GTK_LABEL (text), msg_data->dialog_text);
-
+ if (msg_data->dialog_text)
+ gtk_label_set_markup (GTK_LABEL (text), g_strcompress (msg_data->dialog_text));
+
if (msg_data->no_wrap)
gtk_label_set_line_wrap (GTK_LABEL (text), FALSE);
bgstack15