Rewrite AFM parsing code

Ian Pilcher ian.pilcher at home.com
Thu Aug 9 02:27:56 CDT 2001


Dmitry Timoshkov wrote:
> 
>>+inline static BOOL IsWinANSI(LONG uv)
>>+{
>>+    if ((0x0020 <= uv && uv <= 0x007e) || (0x00a0 <= uv && uv <= 0x00ff) ||
>>+        (0x2018 <= uv && uv <= 0x201a) || (0x201c <= uv && uv <= 0x201e) ||
>>+     (0x2020 <= uv && uv <= 2022))
>>
>                                ^^^^
> Shouldn't it be 0x2022?
> 

Indeed it should!

The really ironic thing is that this is code copied from the current
afm.c.

Thanks for spotting this.

-- 
========================================================================
Ian Pilcher                                         ian.pilcher at home.com
========================================================================





More information about the wine-devel mailing list