[PATCH] riched20: Return nonzero value instead of zero when EM_SETREADONLY succeeds.

Jactry Zeng wine at jactry.com
Fri Jul 4 09:51:35 CDT 2014


 From this we know EM_SETREADONLY will return nonzero value when it 
succeeds: 
http://msdn.microsoft.com/en-us/library/windows/desktop/bb761655(v=vs.85).aspx

---
  dlls/riched20/editor.c       |  2 +-
  dlls/riched20/tests/editor.c | 20 ++++++++++++++++++++
  2 files changed, 21 insertions(+), 1 deletion(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-riched20-Return-nonzero-value-instead-of-zero-when-EM_.txt
Type: text/x-patch
Size: 1641 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140704/b7fc8cd4/attachment.bin>


More information about the wine-patches mailing list