changeset 14521:4ffaeb5318c0

(FONT_WIDTH): Use average character width, not maximum.
author Geoff Voelker <voelker@cs.washington.edu>
date Thu, 08 Feb 1996 19:04:58 +0000
parents e46b1e676418
children 9cee3e7c6468
files src/w32term.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.h	Thu Feb 08 17:49:24 1996 +0000
+++ b/src/w32term.h	Thu Feb 08 19:04:58 1996 +0000
@@ -28,7 +28,7 @@
 #define BLACK_PIX_DEFAULT(f) RGB(0,0,0)
 #define WHITE_PIX_DEFAULT(f) RGB(255,255,255)
 
-#define FONT_WIDTH(f)	((f)->tm.tmMaxCharWidth)
+#define FONT_WIDTH(f)	((f)->tm.tmAveCharWidth)
 #define FONT_HEIGHT(f)	((f)->tm.tmHeight)
 #define FONT_BASE(f)    ((f)->tm.tmAscent)