Ticket #7697: AboutSystem_updated_r42387.patch
File AboutSystem_updated_r42387.patch, 1.7 KB (added by , 13 years ago) |
---|
-
src/apps/aboutsystem/AboutSystem.cpp
1235 1235 "respective license.]\n\n")); 1236 1236 1237 1237 // Haiku license 1238 BString haikuLicen ce = B_TRANSLATE("The code that is unique to Haiku, "1238 BString haikuLicense = B_TRANSLATE("The code that is unique to Haiku, " 1239 1239 "especially the kernel and all code that applications may link " 1240 "against, is distributed under the terms of the %MIT licen ce%. "1240 "against, is distributed under the terms of the %MIT license%. " 1241 1241 "Some system libraries contain third party code distributed under the " 1242 1242 "LGPL license. You can find the copyrights to third party code below.\n" 1243 1243 "\n"); 1244 int32 licen cePart1 = haikuLicence.FindFirst("%");1245 int32 licen cePart2 = haikuLicence.FindLast("%");1244 int32 licensePart1 = haikuLicense.FindFirst("%"); 1245 int32 licensePart2 = haikuLicense.FindLast("%"); 1246 1246 BString part; 1247 haikuLicen ce.CopyCharsInto(part, 0, licencePart1);1247 haikuLicense.CopyInto(part, 0, licensePart1); 1248 1248 fCreditsView->Insert(part); 1249 1249 1250 1250 part.Truncate(0); 1251 haikuLicen ce.CopyCharsInto(part, licencePart1 + 1, licencePart2 - 11252 - licen cePart1);1251 haikuLicense.CopyInto(part, licensePart1 + 1, licensePart2 - 1 1252 - licensePart1); 1253 1253 fCreditsView->InsertHyperText(part, new OpenFileAction(mitPath.Path())); 1254 1254 1255 1255 part.Truncate(0); 1256 haikuLicen ce.CopyCharsInto(part, licencePart2 + 1, haikuLicence.CountChars()1257 - licen cePart2);1256 haikuLicense.CopyInto(part, licensePart2 + 1, haikuLicense.Length() - 1 1257 - licensePart2); 1258 1258 fCreditsView->Insert(part); 1259 1259 1260 1260 // GNU copyrights