[haiku-commits] Re: haiku: hrev45470 - src/kits/interface headers/os/interface

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 9 Apr 2013 12:25:19 +0200 (CEST)

> 63f3755: Many style fixes to ListView
> @@ -879,8 +886,9 @@ void
>  BListView::SetListType(list_view_type type)
>  {
>    if (fListType == B_MULTIPLE_SELECTION_LIST &&
> -          type == B_SINGLE_SELECTION_LIST)
> +          type == B_SINGLE_SELECTION_LIST) {
>            Select(CurrentSelection(0));
> +  }

You missed one more here: the operator goes to the next line. Besides that, it
looks like those lines can be merged into one, and still be less than 80
characters long.

Bye,
   Axel.

Other related posts: