[kismac] Re: Compile KisMAC from source: no go?

  • From: Derrick J Brashear <shadow@xxxxxxxxxxxx>
  • To: kismac@xxxxxxxxxxxxx
  • Date: Sun, 21 Sep 2003 14:34:10 -0400 (EDT)

On Sun, 21 Sep 2003, Michael Rossberg wrote:

> Hi Derrick,
>
> thank you for your patch. i applied them to my source tree, they will
> be included in the next release. there is only one mistake i want to
> point you at:
>
> +            NSSize size =3D [_name sizeWithAttributes:attrs];
>                [attrs setObject:textFont forKey:NSFontAttributeName];
>
> -            NSSize size =3D [_name sizeWithAttributes:attrs];
>
> size depends on attrs, therefore you may not switch the lines.

Ok, then NSSize has to be declared first, and filled in after, in order to
compile with whatever Xcode preview I have.


Other related posts: