[haiku-bugs] Re: [Haiku] #7697: [AboutSystem] Link to MIT licence looks strange when localized

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 16 Jun 2011 17:42:47 -0000

#7697: [AboutSystem] Link to MIT licence looks strange when localized
----------------------------------------+----------------------------
   Reporter:  taos                      |      Owner:  nobody
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  R1
  Component:  Applications/AboutSystem  |    Version:  R1/Development
 Resolution:                            |   Keywords:  localization
 Blocked By:                            |   Blocking:
Has a Patch:  1                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by bonefish):

 Replying to [comment:14 taos]:
 > > Ideally one also fixing the off-by-one error in the last
 `CopyCharsInto()` call.
 > Not really sure???

 It starts copying at index `licencePart2 + 1`, but copies
 `haikuLicence.Length() - licencePart2` bytes, which is one too many. It
 doesn't really matter, since the method clamps the length anyway, but
 still no reason not to pass the correct value.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7697#comment:16>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: