summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32term.h2
1 files changed, 1 insertions, 1 deletions
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)