]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fx_list_fonts) [WINDOWSNT]: Remove Windows only redefinition of FONT_WIDTH.
authorJason Rumney <jasonr@gnu.org>
Sat, 2 Jun 2007 22:07:16 +0000 (22:07 +0000)
committerJason Rumney <jasonr@gnu.org>
Sat, 2 Jun 2007 22:07:16 +0000 (22:07 +0000)
src/xfaces.c

index 1b314a6fa13e33879c25f9b306b83ff857551556..b2ec813a465a1c184f90d14d7ffdb153520aa168 100644 (file)
@@ -3148,13 +3148,6 @@ the WIDTH times as wide as FACE on FRAME.  */)
                           ? NULL
                           : FACE_FROM_ID (f, face_id));
 
-#ifdef WINDOWSNT
-/* For historic reasons, FONT_WIDTH refers to average width on W32,
-   not maximum as on X.  Redefine here. */
-#undef FONT_WIDTH
-#define FONT_WIDTH FONT_MAX_WIDTH
-#endif
-
       if (face && face->font)
        size = FONT_WIDTH (face->font);
       else