[haiku-bugs] Re: [Haiku] #8391: BTextView::SetAlignment Bug?

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 08 Dec 2014 07:19:10 -0000

#8391: BTextView::SetAlignment Bug?
----------------------------------+-----------------------
   Reporter:  cipri               |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/alpha3
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:  11528
Has a Patch:  1                   |   Platform:  All
----------------------------------+-----------------------

Comment (by pulkomandy):

 {{{
 // The switch statement raises a warning about unprocessed
 // vertical alignment values
 }}}

 Can't you just add
 {{{
 default:
      break;
 }}}
 to it to avoid that?

 It would look cleaner than chained if I think.

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

Other related posts: