riched20: ME_MakeString() is unused sor remove it.
Francois Gouget
fgouget at free.fr
Thu May 14 18:50:06 CDT 2009
---
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)
{
--
1.6.2.1
More information about the wine-patches
mailing list