Module: wine Branch: master Commit: 8e304065c1da5bafcfd2baf61165ae81f2561653 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8e304065c1da5bafcfd2baf611...
Author: Francois Gouget fgouget@free.fr Date: Wed Apr 3 16:07:04 2013 +0200
riched20: ME_StrDup() is not used anymore 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 95818cd..f7cac1f 100644 --- a/dlls/riched20/editor.h +++ b/dlls/riched20/editor.h @@ -100,7 +100,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; BOOL ME_AppendString(ME_String *s, const WCHAR *append, int len) 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 ce66af5..6d7d222 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;