From aa6b0d29b5bd99c7b30aadc67e97e34cef84be0f 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 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/a491fbd1609c9e03110fa0ea8b4badf02f641008 Author: [CST] Focus Date: 2012-04-09 (Mon, 09 Apr 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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);