[PATCH 1/3] riched20: Use codepage in ME_ToUnicode.

Phil Krylov phil at newstar.rinet.ru
Tue Sep 3 11:52:15 CDT 2013


Hello,

>-        ME_EndToUnicode(unicode, wszText);
>+        unicode ? ME_EndToUnicode(1200, wszText) : ME_EndToUnicode(CP_ACP, wszText);

Personally I dislike this stuff in C code. Especially when you could
make it shorter:

ME_EndToUnicode(unicode ? 1200 : CP_ACP, wszText)

-- Ph.



More information about the wine-devel mailing list