aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/libXft/files/patch-xftdraw.c
blob: 564de234962b0bae5d4cfb4f6e4821c3b0924d2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- xftdraw.c	2002/10/11 17:53:02	1.25
+++ xftdraw.c	2003/04/03 22:25:50	1.26
@@ -724,7 +724,7 @@ XftDrawGlyphFontSpec (XftDraw			*draw,
 	    {
 		XftGlyphFontSpecRender (draw->dpy, _XftDrawOp (draw, color),
 					src, draw->render.pict,
-					0, 0, glyphs, i - start);
+					0, 0, glyphs + start , i - start);
 	    }
 	}
 	else
@@ -732,7 +732,7 @@ XftDrawGlyphFontSpec (XftDraw			*draw,
 	    while (i < len && !((XftFontInt *) glyphs[i].font)->format)
 		i++;
 	    if (_XftDrawCorePrepare (draw, color))
-		XftGlyphFontSpecCore (draw, color, glyphs, len);
+		XftGlyphFontSpecCore (draw, color, glyphs + start, i - start);
 	}
     }
 }