"Ian Pilcher" <ian.pilcher(a)home.com> wrote:
Log message: Ian Pilcher <ian.pilcher(a)home.com> WINEPS: rewrite and separate AFM parsing code (no more [afmfiles])
[...]
+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? -- Dmitry.
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(a)home.com ========================================================================
participants (2)
-
Dmitry Timoshkov -
Ian Pilcher