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