[haiku-commits] Re: r40314 - in haiku/trunk/src/tests/kits/net/preflet: . DummyAddOn InterfacesAddOn ServicesAddOn

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 29 Jan 2011 22:02:09 +0100

kallisti5@xxxxxxxxxxx wrote:
> + */
> +
>  #include <stdlib.h>

Two blank lines.

> +     fOnOff = new BButton(r, "onoff", "Disable",
> +                             new BMessage(ONOFF_INTERFACE_MSG),
> +                             B_FOLLOW_BOTTOM | B_FOLLOW_LEFT);

Wrong indentation.

> +     } else {
> +             owner->SetHighColor(owner->LowColor());
> +     }

Still superfluous brackets.

> +/*
> + * Copyright 2004-2011 Haiku Inc. All rights reserved.
> + * Distributed under the terms of the MIT License.
> + *
> + */
> +
>  #ifndef NETWORKSETUPADDON_H
>  #define NETWORKSETUPADDON_H

No blank line here!

> + */
> +
>  #include <stdio.h>

But two here.
Your driver contains also lots of those, btw.

Bye,
   Axel.


Other related posts: