summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sendto/caja-sendto-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sendto/caja-sendto-command.c b/sendto/caja-sendto-command.c
index 8181db6..de1602e 100644
--- a/sendto/caja-sendto-command.c
+++ b/sendto/caja-sendto-command.c
@@ -202,7 +202,7 @@ pack_files (NS_ui *ui)
g_mkdir (tmp_work_dir, 0700);
g_free (tmp_dir);
- if (gtk_combo_box_get_active (GTK_COMBO_BOX(ui->pack_combobox)) != 0) {
+ if (gtk_combo_box_get_active (GTK_COMBO_BOX(ui->pack_combobox)) >= 0) {
pack_type = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT(ui->pack_combobox));
} else {
pack_type = NULL;