[haiku-commits] Re: r43080 - in haiku/trunk: headers/private/shared src/kits/shared

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 02 Nov 2011 09:58:34 +0100

anevilyak@xxxxxxxxx wrote:
> Modified: haiku/trunk/headers/private/shared/Variant.h
> ===================================================================
> --- haiku/trunk/headers/private/shared/Variant.h 2011-11-01 20:35:49 UTC (rev 
> 43079)
> +++ haiku/trunk/headers/private/shared/Variant.h 2011-11-01 20:57:31 UTC (rev 
> 43080)
[...]
> @@ -150,6 +161,11 @@
>   BReferenceable* fReferenceable;
>   uint8 fBytes[8];
>   };
> + 
> + float fLeft;
> + float fTop;
> + float fRight;
> + float fBottom;
>  };

The new members really should be put into the union. Either as float[4] or 
(nicer) as a substructure with four named float members. fBytes probably needs 
to be enlarged, too.

CU, Ingo

Other related posts: