From: David Kalnischkies Date: Sun, 7 Feb 2010 18:26:02 +0000 (+0100) Subject: fix progress reporting while reading extended_states file X-Git-Tag: 0.8.0~39^2~1 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/eef21b9f52adc2170a3a3ffd0258a19810cacfd7 fix progress reporting while reading extended_states file --- 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;