%Fp printf format specifier

Jesse Allen the3dfxdude at gmail.com
Wed Mar 2 13:35:47 CST 2005


On Wed, 2 Mar 2005 20:24:27 +0100, Uwe Bonnes
<bon at elektron.ikp.physik.tu-darmstadt.de> wrote:
> 
> 
> Most recent CVS...


Oh, since it hits 'F' first, it will try to parse it as 'f'.  Maybe
try this to see if it no longer accepts it as a valid specifer, and
then maybe it will parse it as a pointer.

--- wcs.c-original      2005-02-14 16:14:01.000000000 -0700
+++ wcs.c       2005-03-02 12:33:12.000000000 -0700
@@ -353,6 +353,8 @@
     char float_fmts[] = "acdefginoux";
     if (!fmt)
         return FALSE;
+    if (fmt == 'F')
+        return FALSE;
     fmt = tolower( fmt );
     return strchr( float_fmts, fmt ) ? TRUE : FALSE;
 }



More information about the wine-devel mailing list