gui/scan.cpp: comment reset scanned transponders num, if total to scan is 0

Origin commit data
------------------
Commit: a491fbd160
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-09 (Mon, 09 Apr 2012)
This commit is contained in:
[CST] Focus
2012-04-09 19:52:35 +04:00
parent 0955a9e93e
commit 9c77499edb

View File

@@ -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);