Commit 12f7daf1 authored by Jason Rumney's avatar Jason Rumney
Browse files

(Fx_list_fonts) [WINDOWSNT]: Remove Windows only redefinition of FONT_WIDTH.

parent 1445e9c6
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment