From 182ba28cff04644b07f448304ce91eaa3f763809 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 24 Mar 2009 00:56:34 +0000 Subject: [PATCH] (find_font_encoding): Return Qnil for unsupported encoding. --- src/font.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/font.c b/src/font.c index 5ad6d0bf8f0..f5a9e3e70e2 100644 --- a/src/font.c +++ b/src/font.c @@ -439,8 +439,7 @@ find_font_encoding (fontname) : CONSP (XCDR (elt)) && CHARSETP (XCAR (XCDR (elt))))) return (XCDR (elt)); } - /* We don't know the encoding of this font. Let's assume `ascii'. */ - return Qascii; + return Qnil; } /* Return encoding charset and repertory charset for REGISTRY in -- 2.39.5