diff options
| author | Adrian Robert | 2009-05-18 08:02:06 +0000 |
|---|---|---|
| committer | Adrian Robert | 2009-05-18 08:02:06 +0000 |
| commit | 2d087c0685b3738c2f4bc8be85758ce4e317d58d (patch) | |
| tree | 70cb293eecc93c7906efdcb1f3cc3b4fcbc6b88f /src | |
| parent | 06302656f363621255dc99dc1be5dcf89a943cde (diff) | |
| download | emacs-2d087c0685b3738c2f4bc8be85758ce4e317d58d.tar.gz emacs-2d087c0685b3738c2f4bc8be85758ce4e317d58d.zip | |
* nsfont.m (nsfont_make_fontset_for_font): Avoid a compiler warning.
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsfont.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsfont.m b/src/nsfont.m index a6ea4843067..bb9754c8b6e 100644 --- a/src/nsfont.m +++ b/src/nsfont.m | |||
| @@ -1229,7 +1229,7 @@ void nsfont_make_fontset_for_font (Lisp_Object name, Lisp_Object font_object) | |||
| 1229 | these, calling set_fontset_font generates an abort. Try to | 1229 | these, calling set_fontset_font generates an abort. Try to |
| 1230 | guess which ones these are and avoid it. */ | 1230 | guess which ones these are and avoid it. */ |
| 1231 | if (strstr (SDATA (SYMBOL_NAME (scripts[i])), "mathematical-") | 1231 | if (strstr (SDATA (SYMBOL_NAME (scripts[i])), "mathematical-") |
| 1232 | != SDATA (SYMBOL_NAME (scripts[i]))) | 1232 | != (char *)SDATA (SYMBOL_NAME (scripts[i]))) |
| 1233 | Fset_fontset_font (name, scripts[i], famAndReg, Qnil, Qnil); | 1233 | Fset_fontset_font (name, scripts[i], famAndReg, Qnil, Qnil); |
| 1234 | free (family); | 1234 | free (family); |
| 1235 | } | 1235 | } |