[haiku-bugs] Re: [Haiku] #11111: Division by zero in TabDecorator CID 1210846

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Fri, 08 Aug 2014 12:39:32 -0000

#11111: Division by zero in TabDecorator CID 1210846
-------------------------+----------------------------
   Reporter:  kallisti5  |      Owner:  nobody
       Type:  bug        |     Status:  new
   Priority:  low        |  Milestone:  R1
  Component:  - General  |    Version:  R1/Development
 Resolution:             |   Keywords:  easy
 Blocked By:             |   Blocking:
Has a Patch:  0          |   Platform:  All
-------------------------+----------------------------
Changes (by kallisti5):

 * keywords:   => easy
 * priority:  normal => low
 * milestone:  R1/alpha5 => R1


Comment:

 @jessicah Yeah, I saw the assertion check after opening this.  However
 it's checking something other than what it's dividing. While that
 assertion checks the value in a round-about way, if anyone were to modify
 the code they could easily miss such a check.

 Anyway, yeah... Since now it's more of a cosmetic thing, lowering the
 priority. I still think it is some low hanging fruit that could be
 corrected.  @korli also had a good solution.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11111#comment:4>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: