summaryrefslogtreecommitdiff
path: root/src/fr-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-window.c')
-rw-r--r--src/fr-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fr-window.c b/src/fr-window.c
index 968972b..ed6f76a 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -2683,7 +2683,7 @@ fr_window_progress_cb (FrArchive *archive,
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (window->priv->pd_progress_bar), fraction);
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (window->priv->progress_bar), fraction);
- if ((archive != NULL) && (archive->command->n_files > 0)) {
+ if ((archive != NULL) && (archive->command != NULL) && (archive->command->n_files > 0)) {
char *message = NULL;
int remaining_files;