X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/84eb0351d8be4811897c8cf62a69757ff5d14001..d5e5e7b41166815a843148f2081d19bc14b628b2:/src/disptab.h diff --git a/src/disptab.h b/src/disptab.h index be611cb8a9..2e041707ee 100644 --- a/src/disptab.h +++ b/src/disptab.h @@ -1,5 +1,5 @@ /* Things for GLYPHS and glyph tables. - Copyright (C) 1993, 2001-2011 Free Software Foundation, Inc. + Copyright (C) 1993, 2001-2012 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -54,7 +54,7 @@ extern Lisp_Object Qdisplay_table; /* Return the current length of the GLYPH table, or 0 if the table isn't currently valid. */ #define GLYPH_TABLE_LENGTH \ - ((VECTORP (Vglyph_table)) ? XVECTOR (Vglyph_table)->size : 0) + ((VECTORP (Vglyph_table)) ? ASIZE (Vglyph_table) : 0) /* Return the current base (for indexing) of the GLYPH table, or 0 if the table isn't currently valid. */ @@ -95,4 +95,3 @@ extern Lisp_Object Qdisplay_table; #define SET_GLYPH_FROM_CHAR(glyph, c) \ SET_GLYPH (glyph, c, DEFAULT_FACE_ID) -