1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-16 21:20:53 -08:00

* nsfont.m (nsfont_make_fontset_for_font): Avoid a compiler warning.

This commit is contained in:
Adrian Robert 2009-05-18 08:02:06 +00:00
parent 06302656f3
commit 2d087c0685

View file

@ -1229,7 +1229,7 @@ void nsfont_make_fontset_for_font (Lisp_Object name, Lisp_Object font_object)
these, calling set_fontset_font generates an abort. Try to
guess which ones these are and avoid it. */
if (strstr (SDATA (SYMBOL_NAME (scripts[i])), "mathematical-")
!= SDATA (SYMBOL_NAME (scripts[i])))
!= (char *)SDATA (SYMBOL_NAME (scripts[i])))
Fset_fontset_font (name, scripts[i], famAndReg, Qnil, Qnil);
free (family);
}