Minor FIXME elimination

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changelog:
Shachar Shemesh <winecode@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/

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.
                  */

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux