changeset 4849:5eacb04a2e62

Fix parentheses. See xemacs-beta message <87r5ptluih.fsf@topper.koldfront.dk>.
author Jerry James <james@xemacs.org>
date Wed, 13 Jan 2010 12:00:49 -0700
parents bde90bc762f2
children 5fea88c726f7
files src/ChangeLog src/font-mgr.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Jan 13 10:50:47 2010 -0700
+++ b/src/ChangeLog	Wed Jan 13 12:00:49 2010 -0700
@@ -1,3 +1,8 @@
+2010-01-13  Jerry James  <james@xemacs.org>
+
+	* font-mgr.c (Ffc_config_app_font_add_file): Fix parentheses.
+	(Ffc_config_app_font_add_dir): Ditto.
+
 2010-01-13  Jerry James  <james@xemacs.org>
 
 	* Makefile.in.in: Remove CYGWIN && !PDUMP section.
--- a/src/font-mgr.c	Wed Jan 13 10:50:47 2010 -0700
+++ b/src/font-mgr.c	Wed Jan 13 12:00:49 2010 -0700
@@ -783,7 +783,7 @@
   if (FcConfigAppFontAddFile
       (XFCCONFIG_PTR (config),
        /* #### FIXME! is Qfile_name right? */
-       (FcChar8 *) NEW_LISP_STRING_TO_EXTERNAL (file, Qfile_name) == FcFalse)
+       (FcChar8 *) NEW_LISP_STRING_TO_EXTERNAL (file, Qfile_name)) == FcFalse)
     return Qnil;
   else
     return Qt;
@@ -802,7 +802,7 @@
   if (FcConfigAppFontAddDir
       (XFCCONFIG_PTR (config),
        /* #### FIXME! is Qfile_name right? */
-       (FcChar8 *) NEW_LISP_STRING_TO_EXTERNAL (dir), Qfile_name) == FcFalse)
+       (FcChar8 *) NEW_LISP_STRING_TO_EXTERNAL (dir, Qfile_name)) == FcFalse)
     return Qnil;
   else
     return Qt;