richedit: v1.0 richedit uses CR and LF for enter

The Edmeades us at edmeades.me.uk
Wed Jan 18 15:52:27 CST 2012


>
> > This was deliberate - I did that originally and I got a compile warning
> as
> > one is const WCHAR * and one is const WCHAR[2] (Not sure if that error
> was
> > from a MSVC windows or Linux compile, but I was trying to avoid it, and a
> > typecast was a bit pointless as the above is accurate as well, isnt it?)
>
> You could declare it non-const.  That's often what we end up doing in
> the tests, that or casting away the const.
>
>
Whats the difference between a typecast and &var[0]?

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20120118/43a2b861/attachment.html>


More information about the wine-devel mailing list