qemacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemacs-commit] qemacs display.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs display.c
Date: Mon, 31 Mar 2008 09:41:17 +0000

CVSROOT:        /cvsroot/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        08/03/31 09:41:17

Modified files:
        .              : display.c 

Log message:
        return NULL in select_font for fallback failure

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/display.c?cvsroot=qemacs&r1=1.12&r2=1.13

Patches:
Index: display.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/display.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- display.c   11 Jan 2008 11:29:28 -0000      1.12
+++ display.c   31 Mar 2008 09:41:17 -0000      1.13
@@ -283,6 +283,9 @@
     }
     fc = open_font(s, style, size);
     if (!fc) {
+        if (style & QE_FAMILY_FALLBACK_MASK)
+            return NULL;
+
         put_error(NULL, "open_font: cannot open style=%X size=%d",
                   style, size);
         goto fail;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]