changeset 102400:934376007cef

* nsfont.m (nsfont_draw): Compare ns_antialias_text against lisp value.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Wed, 04 Mar 2009 21:21:25 +0000
parents 55ec3560f75e
children 5c428a8f05ab
files src/ChangeLog src/nsfont.m
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 <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
--- 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);