From 9c35997bcbaced9aef89c62f429666dfa58747c3 Mon Sep 17 00:00:00 2001 From: Geoff Voelker Date: Thu, 8 Feb 1996 19:04:58 +0000 Subject: [PATCH] (FONT_WIDTH): Use average character width, not maximum. --- src/w32term.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/w32term.h b/src/w32term.h index a5301896541..3d027de1e8d 100644 --- a/src/w32term.h +++ b/src/w32term.h @@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */ #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) -- 2.39.2