diff options
Diffstat (limited to 'src/fileselection.c')
-rw-r--r-- | src/fileselection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileselection.c b/src/fileselection.c index 3ccd11dd..27db0f40 100644 --- a/src/fileselection.c +++ b/src/fileselection.c @@ -189,7 +189,7 @@ zenity_fileselection_dialog_response (GtkWidget *widget, int response, gpointer break; default: - if (response < g_strv_length(zen_data->extra_label)) + if (zen_data->extra_label && response < g_strv_length(zen_data->extra_label)) printf("%s\n",zen_data->extra_label[response]); zen_data->exit_code = zenity_util_return_exit_code (ZENITY_ESC); break; |