From a491fbd1609c9e03110fa0ea8b4badf02f641008 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 9 Apr 2012 19:52:35 +0400 Subject: [PATCH] gui/scan.cpp: comment reset scanned transponders num, if total to scan is 0 --- src/gui/scan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/scan.cpp b/src/gui/scan.cpp index 8cde392d8..7a9104ac7 100644 --- a/src/gui/scan.cpp +++ b/src/gui/scan.cpp @@ -383,7 +383,7 @@ int CScanTs::handleMsg(neutrino_msg_t msg, neutrino_msg_data_t data) break; case NeutrinoMessages::EVT_SCAN_REPORT_NUM_SCANNED_TRANSPONDERS: - if (total == 0) data = 0; + //if (total == 0) data = 0; // why ?? done = data; sprintf(buffer, "%d/%d", done, total); paintLine(xpos2, ypos_transponder, w - (8*fw), buffer);