diff options
Diffstat (limited to 'src/password.c')
-rw-r--r-- | src/password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password.c b/src/password.c index 1d17d913..d8f492f6 100644 --- a/src/password.c +++ b/src/password.c @@ -179,7 +179,7 @@ zenity_password_dialog_response (GtkWidget *widget, int response, gpointer data) 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; |