(FONT_AVG_WIDTH): Remove obsolete macro.
authorJason Rumney <jasonr@gnu.org>
Thu, 26 Jun 2008 16:20:49 +0000 (16:20 +0000)
committerJason Rumney <jasonr@gnu.org>
Thu, 26 Jun 2008 16:20:49 +0000 (16:20 +0000)
(CP_8BIT, CP_UNICODE, CP_UNKNOWN): Remove obsolete constants.

src/ChangeLog
src/w32term.h

index 05873b1..f0095e6 100644 (file)
@@ -1,3 +1,8 @@
+2008-06-26  Jason Rumney  <jasonr@gnu.org>
+
+        * w32term.h (FONT_AVG_WIDTH): Remove obsolete macro.
+        (CP_8BIT, CP_UNICODE, CP_UNKNOWN): Remove obsolete constants.
+
 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
 
        * Makefile.in (SOME_MACHINE_OBJECTS): Remove w32bdf.o.
index defb323..f796e59 100644 (file)
@@ -29,13 +29,8 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #define FONT_HEIGHT(f)    ((f)->height)
 #define FONT_BASE(f)      ((f)->ascent)
 #define FONT_DESCENT(f)   ((f)->descent)
-#define FONT_AVG_WIDTH(f) ((f)->average_width)
 
 #define CP_DEFAULT 1004
-/* Special pseudo-codepages. */
-#define CP_8BIT      -1
-#define CP_UNICODE   -2
-#define CP_UNKNOWN   -3
 
 #define CHECK_W32_FRAME(f, frame)              \
   if (NILP (frame))                            \