summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-02-07 19:26:02 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-02-07 19:26:02 +0100
commiteef21b9f52adc2170a3a3ffd0258a19810cacfd7 (patch)
treeb218ac1c991f13142704d335aa4757f6bb9f35cd /apt-pkg/depcache.cc
parente57a5bff9c131aaa02f5756186927c755289089e (diff)
fix progress reporting while reading extended_states file
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r--apt-pkg/depcache.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc
index ec7a5de64..5943d858a 100644
--- a/apt-pkg/depcache.cc
+++ b/apt-pkg/depcache.cc
@@ -192,10 +192,10 @@ bool pkgDepCache::readStateFile(OpProgress *Prog) /*{{{*/
Prog->OverallProgress(amt, file_size, 1,
_("Reading state information"));
}
- if(Prog != NULL)
- Prog->OverallProgress(file_size, file_size, 1,
- _("Reading state information"));
}
+ if(Prog != NULL)
+ Prog->OverallProgress(file_size, file_size, 1,
+ _("Reading state information"));
}
return true;