mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 15:44:10 +00:00
fntcache: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b231650925
commit
403b512796
|
@ -83,14 +83,13 @@ static DWORD WINAPI service_handler( DWORD ctrl, DWORD event_type, void *event_d
|
||||||
*/
|
*/
|
||||||
VOID WINAPI ServiceMain(DWORD argc, LPWSTR *argv)
|
VOID WINAPI ServiceMain(DWORD argc, LPWSTR *argv)
|
||||||
{
|
{
|
||||||
static const WCHAR fontcacheW[] = {'F','o','n','t','C','a','c','h','e',0};
|
|
||||||
SERVICE_STATUS status;
|
SERVICE_STATUS status;
|
||||||
|
|
||||||
TRACE( "starting service\n" );
|
TRACE( "starting service\n" );
|
||||||
|
|
||||||
stop_event = CreateEventW( NULL, TRUE, FALSE, NULL );
|
stop_event = CreateEventW( NULL, TRUE, FALSE, NULL );
|
||||||
|
|
||||||
service_handle = RegisterServiceCtrlHandlerExW( fontcacheW, service_handler, NULL );
|
service_handle = RegisterServiceCtrlHandlerExW( L"FontCache", service_handler, NULL );
|
||||||
if (!service_handle)
|
if (!service_handle)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue