From 869f637f93b7926828ca2ae7a1ebc0c2635185dc Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Thu, 5 Jun 2003 11:33:37 +0000
Subject: [PATCH] display correct number of event to be processed.

git-svn-id: http://root.cern.ch/svn/root/trunk@6687 27541ba8-7e3a-0410-8455-c3a389f83636
---
 proof/src/TProofProgressDialog.cxx         | 4 ++--
 sessionviewer/src/TProofProgressDialog.cxx | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/proof/src/TProofProgressDialog.cxx b/proof/src/TProofProgressDialog.cxx
index 6dd809062da..9108278c555 100644
--- a/proof/src/TProofProgressDialog.cxx
+++ b/proof/src/TProofProgressDialog.cxx
@@ -1,4 +1,4 @@
-// @(#)root/proof:$Name:  $:$Id: TProofProgressDialog.cxx,v 1.4 2003/04/11 16:39:12 rdm Exp $
+// @(#)root/proof:$Name:  $:$Id: TProofProgressDialog.cxx,v 1.5 2003/05/06 08:23:43 rdm Exp $
 // Author: Fons Rademakers   21/03/03
 
 /*************************************************************************
@@ -170,7 +170,7 @@ void TProofProgressDialog::Progress(Long64_t total, Long64_t processed)
       return;
 
    char buf[256];
-   if (fEntries == -1) {
+   if (fEntries != total) {
       fEntries = total;
       sprintf(buf, "%d files, number of events %lld, starting event %lld",
               fFiles, fEntries, fFirst);
diff --git a/sessionviewer/src/TProofProgressDialog.cxx b/sessionviewer/src/TProofProgressDialog.cxx
index 6dd809062da..9108278c555 100644
--- a/sessionviewer/src/TProofProgressDialog.cxx
+++ b/sessionviewer/src/TProofProgressDialog.cxx
@@ -1,4 +1,4 @@
-// @(#)root/proof:$Name:  $:$Id: TProofProgressDialog.cxx,v 1.4 2003/04/11 16:39:12 rdm Exp $
+// @(#)root/proof:$Name:  $:$Id: TProofProgressDialog.cxx,v 1.5 2003/05/06 08:23:43 rdm Exp $
 // Author: Fons Rademakers   21/03/03
 
 /*************************************************************************
@@ -170,7 +170,7 @@ void TProofProgressDialog::Progress(Long64_t total, Long64_t processed)
       return;
 
    char buf[256];
-   if (fEntries == -1) {
+   if (fEntries != total) {
       fEntries = total;
       sprintf(buf, "%d files, number of events %lld, starting event %lld",
               fFiles, fEntries, fFirst);
-- 
GitLab