riched20: ME_StrDup() is no longer used so remove it.

Francois Gouget fgouget at free.fr
Tue Jan 29 00:05:13 CST 2013


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

diff --git a/dlls/riched20/editor.h b/dlls/riched20/editor.h
index b9c055f..d1cab1b 100644
--- a/dlls/riched20/editor.h
+++ b/dlls/riched20/editor.h
@@ -90,7 +90,6 @@ const char *ME_GetDITypeName(ME_DIType type) DECLSPEC_HIDDEN;
 /* string.c */
 ME_String *ME_MakeStringN(LPCWSTR szText, int nMaxChars) DECLSPEC_HIDDEN;
 ME_String *ME_MakeStringR(WCHAR cRepeat, int nMaxChars) DECLSPEC_HIDDEN;
-ME_String *ME_StrDup(const ME_String *s) DECLSPEC_HIDDEN;
 void ME_DestroyString(ME_String *s) DECLSPEC_HIDDEN;
 void ME_AppendString(ME_String *s1, const ME_String *s2) DECLSPEC_HIDDEN;
 ME_String *ME_VSplitString(ME_String *orig, int nVPos) DECLSPEC_HIDDEN;
diff --git a/dlls/riched20/string.c b/dlls/riched20/string.c
index db45d92..a7e1743 100644
--- a/dlls/riched20/string.c
+++ b/dlls/riched20/string.c
@@ -59,11 +59,6 @@ ME_String *ME_MakeStringR(WCHAR cRepeat, int nMaxChars)
   return s;
 }
 
-ME_String *ME_StrDup(const ME_String *s)
-{
-  return ME_MakeStringN(s->szData, s->nLen);
-}
-
 void ME_DestroyString(ME_String *s)
 {
   if (!s) return;
-- 
1.7.10.4



More information about the wine-patches mailing list