Commit 2f462d73 authored by Adrian Robert's avatar Adrian Robert

* nsfont.m (nsfont_draw): Compare ns_antialias_text against lisp value.

parent a728dc59
2009-03-04 Nikolaj Schumacher <me@nschum.de>
* nsfont.m (nsfont_draw): Compare ns_antialias_text against lisp
value.
2009-03-04 Jason Rumney <jasonr@gnu.org>
* w32fns.c (w32_wnd_proc): Only ignore IME messages for the
......
......@@ -1053,7 +1053,7 @@ WITH_BACKGROUND is zero when (FROM > 0 || TO < S->nchars). */
CGContextSetFont (gcontext, font->cgfont);
CGContextSetFontSize (gcontext, font->size);
if (ns_antialias_text == NO || font->size <= ns_antialias_threshold)
if (ns_antialias_text == Qnil || font->size <= ns_antialias_threshold)
CGContextSetShouldAntialias (gcontext, 0);
else
CGContextSetShouldAntialias (gcontext, 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment