updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / blt / bltText.patch
blob6d5cd80ccf91caece9a9feb094cde00ff3cff64f
1 --- blt2.4z/src/bltText.c 2011-04-07 19:58:31.233148847 +0200
2 +++ blt2.4z/src/bltText.c 2011-04-07 20:00:27.765850868 +0200
3 @@ -48,10 +48,13 @@
5 fragPtr = textPtr->fragArr;
6 for (i = 0; i < textPtr->nFrags; i++, fragPtr++) {
7 +/*
8 #if HAVE_UTF
9 Tk_DrawChars(display, drawable, gc, font, fragPtr->text,
10 fragPtr->count, x + fragPtr->x, y + fragPtr->y);
11 #else
12 +*/
13 +#if HAVE_UTF
14 XDrawString(display, drawable, gc, x + fragPtr->x, y + fragPtr->y,
15 fragPtr->text, fragPtr->count);
16 #endif /*HAVE_UTF*/