Commit 6d3d0884 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msftedit: Use wide-char string literals.

parent 93a55831
...@@ -42,7 +42,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(msftedit); ...@@ -42,7 +42,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(msftedit);
*/ */
BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved) BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
{ {
static const WCHAR riched20W[] = {'r','i','c','h','e','d','2','0','.','d','l','l',0};
static HMODULE richedit; static HMODULE richedit;
switch(reason) switch(reason)
...@@ -51,7 +50,7 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved) ...@@ -51,7 +50,7 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
return FALSE; /* prefer native version */ return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
/* explicitly load riched20 since it creates the window classes at dll attach time */ /* explicitly load riched20 since it creates the window classes at dll attach time */
richedit = LoadLibraryW( riched20W ); richedit = LoadLibraryW( L"riched20.dll" );
DisableThreadLibraryCalls(inst); DisableThreadLibraryCalls(inst);
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment