[haiku-commits] Re: haiku: hrev49073 - src/apps/showimage

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 21 Apr 2015 11:52:40 +0200

Am 21/04/2015 um 10:49 schrieb janus2@xxxxxxxxx:

int32 width, height;
- width = bounds.IntegerWidth() + 1;
+ width = bounds.IntegerWidth() + 1;
height = bounds.IntegerHeight() + 1;

Additionally, this should only be two lines:
int32 width = ...;
int32 height = ...;

Unless you have a label somewhere, there is little value in having the declaration separated.

Bye,
Axel.

Other related posts: