aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2007-06-02 22:07:16 +0000
committerJason Rumney2007-06-02 22:07:16 +0000
commit12f7daf1aeed6e991fab2596a8791b33f3167a46 (patch)
treed6d4d4adf9440b028ef59274a9e195dfba04f118 /src
parent1445e9c6c6f9b643d316c402a2b9fcc4fe78d3c6 (diff)
downloademacs-12f7daf1aeed6e991fab2596a8791b33f3167a46.tar.gz
emacs-12f7daf1aeed6e991fab2596a8791b33f3167a46.zip
(Fx_list_fonts) [WINDOWSNT]: Remove Windows only redefinition of FONT_WIDTH.
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 1b314a6fa13..b2ec813a465 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -3148,13 +3148,6 @@ the WIDTH times as wide as FACE on FRAME. */)
3148 ? NULL 3148 ? NULL
3149 : FACE_FROM_ID (f, face_id)); 3149 : FACE_FROM_ID (f, face_id));
3150 3150
3151#ifdef WINDOWSNT
3152/* For historic reasons, FONT_WIDTH refers to average width on W32,
3153 not maximum as on X. Redefine here. */
3154#undef FONT_WIDTH
3155#define FONT_WIDTH FONT_MAX_WIDTH
3156#endif
3157
3158 if (face && face->font) 3151 if (face && face->font)
3159 size = FONT_WIDTH (face->font); 3152 size = FONT_WIDTH (face->font);
3160 else 3153 else