Ticket #4647: bookmarkmager.cpp.diff

File bookmarkmager.cpp.diff, 657 bytes (added by amb@…, 12 years ago)

Patch for bookmarkmager.cpp

  • mythbrowser/mythbookmarkmanager/bookmarkmanager.cpp

    diff -u mythbrowser/mythbookmarkmanager/bookmarkmanager.cpp\~ mythbrowser/mythbookmarkmanager/bookmarkmanager.cpp
    old new  
    555555                break;
    556556            ++it;
    557557        }
     558
     559        cmd.replace("&","\\&");
     560        cmd.replace(";","\\;");
     561
    558562        myth_system(cmd);
    559563    } else {
    560564        cmd += geometry + zoom + viewItem->myBookmarkSite->url;
     565
     566        cmd.replace("&","\\&");
     567        cmd.replace(";","\\;");
     568
    561569        myth_system(cmd);
    562570    }
    563571}