[Haiku-commits] r31177 - in haiku/trunk/src/servers/app: . drawing/Painter

Stephan Assmus superstippi at gmx.de
Mon Jun 22 12:57:23 CEST 2009


On 2009-06-22 at 12:30:37 [+0200], axeld at BerliOS <axeld at mail.berlios.de> 
wrote:
>  // SetFont
>  void
>  Painter::SetFont(const DrawState* state)
>  {
>      fTextRenderer.SetFont(state->Font());
> -    fTextRenderer.SetAntialiasing(!(state->ForceFontAliasing()
> -        || state->Font().Flags() & B_DISABLE_ANTIALIASING));
> +    fTextRenderer.SetAntialiasing(!state->ForceFontAliasing()
> +        && (state->Font().Flags() & B_DISABLE_ANTIALIASING) != 0);
>  }

That should be == 0, or am I confused?

Best regards,
-Stephan



More information about the Haiku-commits mailing list