# HG changeset patch # User Adrian Robert # Date 1236201685 0 # Node ID 934376007cef98039d6ba9b6ccf6ae90f01652c3 # Parent 55ec3560f75e676ba64638dc37d47a491502d109 * nsfont.m (nsfont_draw): Compare ns_antialias_text against lisp value. diff -r 55ec3560f75e -r 934376007cef src/ChangeLog --- a/src/ChangeLog Wed Mar 04 18:57:53 2009 +0000 +++ b/src/ChangeLog Wed Mar 04 21:21:25 2009 +0000 @@ -1,3 +1,8 @@ +2009-03-04 Nikolaj Schumacher + + * nsfont.m (nsfont_draw): Compare ns_antialias_text against lisp + value. + 2009-03-04 Jason Rumney * w32fns.c (w32_wnd_proc): Only ignore IME messages for the diff -r 55ec3560f75e -r 934376007cef src/nsfont.m --- a/src/nsfont.m Wed Mar 04 18:57:53 2009 +0000 +++ b/src/nsfont.m Wed Mar 04 21:21:25 2009 +0000 @@ -1053,7 +1053,7 @@ 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);