Ticket #7938: pathfix.patch

File pathfix.patch, 542 bytes (added by Ronald Frazier <ron@…>, 10 years ago)
  • mythvideo/mythvideo/videolist.cpp

     
    513513        QString ret;
    514514        int slashLoc = path.lastIndexOf('/', -2) + 1;
    515515        if (path.right(1) == "/")
    516             ret = path.mid(slashLoc, path.length() - slashLoc - 2);
     516            ret = path.mid(slashLoc, path.length() - slashLoc - 1);
    517517        else
    518518            ret = path.mid(slashLoc);
    519519