Minor FIXME elimination
Shachar Shemesh
wine-patch at shemesh.biz
Tue Jul 1 13:09:47 CDT 2003
Changelog:
Shachar Shemesh <winecode at shemesh.biz>
* objects/text.c
o Don't call the reordering function if the string length is
0. This eliminates a noisy FIXME about ICU returning an
incorrect error code.
--
Shachar Shemesh
Open Source integration consultant
Home page & resume - http://www.shemesh.biz/
-------------- next part --------------
Index: objects/text.c
===================================================================
RCS file: /home/sun/sources/cvs/wine/objects/text.c,v
retrieving revision 1.53
diff -u -r1.53 text.c
--- objects/text.c 27 Jun 2003 20:47:16 -0000 1.53
+++ objects/text.c 1 Jul 2003 18:04:20 -0000
@@ -158,7 +158,7 @@
FIXME("called on an open path\n");
else if(dc->funcs->pExtTextOut)
{
- if( !(flags&(ETO_GLYPH_INDEX|ETO_IGNORELANGUAGE)) && BidiAvail )
+ if( !(flags&(ETO_GLYPH_INDEX|ETO_IGNORELANGUAGE)) && BidiAvail && count>0 )
{
/* The caller did not specify that language processing was already done.
*/
More information about the wine-patches
mailing list