Mercurial > hg > xemacs-beta
diff src/glyphs-shared.c @ 4226:9b4442ac18c7
[xemacs-hg @ 2007-10-15 09:55:43 by didierv]
Fix image specifiers related bugs
author | didierv |
---|---|
date | Mon, 15 Oct 2007 09:55:50 +0000 |
parents | ecf1ebac70d8 |
children | b3ea9c582280 |
line wrap: on
line diff
--- a/src/glyphs-shared.c Mon Oct 15 06:54:23 2007 +0000 +++ b/src/glyphs-shared.c Mon Oct 15 09:55:50 2007 +0000 @@ -1,10 +1,10 @@ /* Routines shared between window-system backends for glyph objects. Copyright (C) 1993, 1994 Free Software Foundation, Inc. - Copyright (C) 1995 Board of Trustees, University of Illinois. + Copyright (C) 1995 Board of Trustees, University of Illinois Copyright (C) 1995 Tinker Systems Copyright (C) 1995, 1996, 2001 Ben Wing Copyright (C) 1995 Sun Microsystems - Copyright (C) 1998, 1999, 2000 Andy Piper. + Copyright (C) 1998, 1999, 2000 Andy Piper This file is part of XEmacs. @@ -75,12 +75,15 @@ file = potential_pixmap_file_instantiator (inst, Q_file, Q_data, console_type); + if (NILP (file)) /* normalization impossible for the console type */ + RETURN_UNGCPRO (Qnil); + if (CONSP (file)) /* failure locating filename */ signal_double_image_error ("Opening pixmap file", "no such file or directory", Fcar (file)); - if (NILP (file)) /* no conversion necessary */ + if (EQ (file, Qt)) /* no conversion necessary */ RETURN_UNGCPRO (inst); alist = tagged_vector_to_alist (inst);