Ticket #7697: AboutSystem.cpp.patch

File AboutSystem.cpp.patch, 977 bytes (added by taos, 8 years ago)

Patch to fix display of MIT license link (compatible with current catkeys in alpha3-rc).

  • src/apps/aboutsystem/AboutSystem.cpp

     
    12431243    int32 licencePart1 = haikuLicence.FindFirst("%");
    12441244    int32 licencePart2 = haikuLicence.FindLast("%");
    12451245    BString part;
    1246     haikuLicence.CopyCharsInto(part, 0, licencePart1 );
     1246    haikuLicence.CopyInto(part, 0, licencePart1);
    12471247    fCreditsView->Insert(part);
    12481248
    12491249    part.Truncate(0);
    1250     haikuLicence.CopyCharsInto(part, licencePart1 + 1, licencePart2 - 1
     1250    haikuLicence.CopyInto(part, licencePart1 + 1, licencePart2 - 1
    12511251        - licencePart1);
    12521252    fCreditsView->InsertHyperText(part, new OpenFileAction(mitPath.Path()));
    12531253
    12541254    part.Truncate(0);
    1255     haikuLicence.CopyCharsInto(part, licencePart2 + 1, haikuLicence.CountChars()
     1255    haikuLicence.CopyInto(part, licencePart2 + 1, haikuLicence.Length() - 1
    12561256        - licencePart2);
    12571257    fCreditsView->Insert(part);
    12581258