From 61a8b94634375e3aeaf56fe7a85b0a404262511b Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Fri, 15 May 2009 01:50:06 +0200 Subject: [PATCH] riched20: ME_MakeString() is unused so remove it. --- 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 77b33d248c7..8568420dedd 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 128e3c2ea7c..db45d928d64 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) {