[haiku-commits] Re: haiku: hrev49354 - src/servers/app/drawing

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 05 Jul 2015 15:43:44 +0200

On 07/02/2015 11:43 PM, waddlesplash@xxxxxxxxx wrote:

73df8e25af7e: servers/app/drawing: BitmapHWInterface: Return -1.

-1 is the same as B_ERROR, but all of the other implementations of
this function "return -1", so do that to be consistent.

The other way around would have been the better choice IMO; you actually return an error code.

Bye,
Axel.


Other related posts: