Ticket #6396: pfind.diff

File pfind.diff, 778 bytes (added by robert.mcnamara@…, 15 years ago)

fix.

  • progfind.cpp

     
    565565
    566566void ProgFinder::selectShowData(QString progTitle, int newCurShow)
    567567{
     568
    568569    progTitle = m_showList->GetValue();
    569570
     571    if (progTitle.endsWith(", A"))   
     572    {
     573        progTitle.replace(", A", "");
     574        progTitle.prepend("A ");
     575    }
     576
     577    if (progTitle.endsWith(", An"))
     578    {
     579        progTitle.replace(", An", "");
     580        progTitle.prepend("An ");
     581    }   
     582
     583    if (progTitle.endsWith(", The"))
     584    {
     585        progTitle.replace(", The", "");
     586        progTitle.prepend("The ");
     587    }
     588
    570589    QDateTime progStart = QDateTime::currentDateTime();
    571590
    572591    m_schedList.FromScheduler();