Dylan Smith : richedit: Removed ME_StrLen and ME_StrVLen field access functions.

Alexandre Julliard julliard at winehq.org
Mon Feb 9 10:29:30 CST 2009


Module: wine
Branch: master
Commit: 5f15de0690da4b289360da55f740a61fad7ad2cb
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5f15de0690da4b289360da55f740a61fad7ad2cb

Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date:   Sat Feb  7 13:21:17 2009 -0500

richedit: Removed ME_StrLen and ME_StrVLen field access functions.

These functions were probably previously needed because of some wierd
special handling of backspace characters, but currently there is no
reason why the nLen field can't be accessed directly.

Having to functions that just access the string length field just causes
slightly more effort for someone to look at the code, because they need
to enter the function to find out what it actually is doing.

---

 dlls/riched20/caret.c  |   10 +++++-----
 dlls/riched20/editor.c |   22 +++++++++++-----------
 dlls/riched20/editor.h |    3 ---
 dlls/riched20/paint.c  |    6 +++---
 dlls/riched20/run.c    |   14 +++++++-------
 dlls/riched20/string.c |   25 +++----------------------
 dlls/riched20/wrap.c   |    6 +++---
 dlls/riched20/writer.c |    4 ++--
 8 files changed, 34 insertions(+), 56 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=5f15de0690da4b289360da55f740a61fad7ad2cb



More information about the wine-cvs mailing list