]> git.eshelyaron.com Git - emacs.git/commitdiff
(FONT_WIDTH): Use average character width, not maximum.
authorGeoff Voelker <voelker@cs.washington.edu>
Thu, 8 Feb 1996 19:04:58 +0000 (19:04 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Thu, 8 Feb 1996 19:04:58 +0000 (19:04 +0000)
src/w32term.h

index a530189654161e804950b81a8b434076b57d091d..3d027de1e8d19af214b3b6f9e65399c1f9da259f 100644 (file)
@@ -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)