Francois Gouget : riched20: ME_MakeString() is unused so remove it.

Alexandre Julliard julliard at winehq.org
Fri May 15 07:47:02 CDT 2009


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri May 15 01:50:06 2009 +0200

riched20: ME_MakeString() is unused so remove it.

---

 dlls/riched20/editor.h |    1 -
 dlls/riched20/string.c |    5 -----
 2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/dlls/riched20/editor.h b/dlls/riched20/editor.h
index 77b33d2..8568420 100644
--- a/dlls/riched20/editor.h
+++ b/dlls/riched20/editor.h
@@ -86,7 +86,6 @@ void ME_DumpDocument(ME_TextBuffer *buffer);
 const char *ME_GetDITypeName(ME_DIType type);
 
 /* string.c */
-ME_String *ME_MakeString(LPCWSTR szText);
 ME_String *ME_MakeStringN(LPCWSTR szText, int nMaxChars);
 ME_String *ME_MakeStringR(WCHAR cRepeat, int nMaxChars);
 ME_String *ME_StrDup(const ME_String *s);
diff --git a/dlls/riched20/string.c b/dlls/riched20/string.c
index 128e3c2..db45d92 100644
--- a/dlls/riched20/string.c
+++ b/dlls/riched20/string.c
@@ -49,11 +49,6 @@ ME_String *ME_MakeStringN(LPCWSTR szText, int nMaxChars)
   return s;
 }
 
-ME_String *ME_MakeString(LPCWSTR szText)
-{
-  return ME_MakeStringN(szText, lstrlenW(szText));
-}
-
 /* Make a string by repeating a char nMaxChars times */
 ME_String *ME_MakeStringR(WCHAR cRepeat, int nMaxChars)
 {




More information about the wine-cvs mailing list