summaryrefslogtreecommitdiff
path: root/src/msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/msg.c')
-rw-r--r--src/msg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/msg.c b/src/msg.c
index cc1f0924..5c73af0b 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -103,8 +103,9 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
break;
}
}
-
- gtk_label_set_text (GTK_LABEL (text), msg_data->dialog_text);
+
+ if (msg_data->dialog_text)
+ gtk_label_set_text (GTK_LABEL (text), msg_data->dialog_text);
gtk_widget_show (dialog);
gtk_main ();
bgstack15