~ubuntu-branches/ubuntu/lucid/mythtv/lucid

« back to all changes in this revision

Viewing changes to libs/libmythtv/channelscan/channelscan_sm.h

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2009-09-08 23:08:37 UTC
  • mfrom: (1.1.32 upstream)
  • Revision ID: james.westby@ubuntu.com-20090908230837-zrm2j6wutp76hwso
Tags: 0.22.0~trunk21742-0ubuntu1
* New upstream checkout (21742)
  - Fixes FTBFS on PPC. See changeset 21571 for more details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
235
235
 
236
236
inline void ChannelScanSM::UpdateScanPercentCompleted(void)
237
237
{
238
 
    int tmp = (transportsScanned * 100) / scanTransports.size();
 
238
    int tmp = (transportsScanned * 100) /
 
239
              (scanTransports.size() + extend_transports.size());
239
240
    scan_monitor->ScanPercentComplete(tmp);
240
241
}
241
242