diff src/glyphs-msw.c @ 331:c9ae480b1fff r21-0-63

Import from CVS: tag r21-0-63
author cvs
date Mon, 13 Aug 2007 10:49:07 +0200
parents f2b5d7006b0a
children 4711e16a8e49
line wrap: on
line diff
--- a/src/glyphs-msw.c	Mon Aug 13 10:48:42 2007 +0200
+++ b/src/glyphs-msw.c	Mon Aug 13 10:49:07 2007 +0200
@@ -1540,7 +1540,7 @@
 			     int mask, COLORREF fg, COLORREF bg)
 {
   int old_width = (width + 7)/8;
-  int new_width = 2*((width + 15)/16);
+  int new_width = BPLINE (2*((width + 15)/16));
   unsigned char *offset;
   void *bmp_buf = 0;
   unsigned char *new_data, *new_offset;