Re: [PATCH 1/3] riched20: Use codepage in ME_ToUnicode.
3 Sep
2013
3 Sep
'13
5:52 p.m.
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.
4 Sep
4 Sep
3:58 a.m.
New subject: [PATCH 1/3] riched20: Use codepage in ME_ToUnicode.
Hi Phil, 2013/9/4 Phil Krylov <phil(a)newstar.rinet.ru>
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)
Thanks for your review and comment, I will try it again.
-- Ph.
-- Regards, Jactry Zeng
4485
Age (days ago)
4486
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jactry Zeng -
Phil Krylov