[PATCH] plugplay: Use wide-char string literals.
11 Oct
2020
11 Oct
'20
11:02 p.m.
Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org> --- Annoyingly the string in SERVICE_TABLE_ENTRYW is not const. Inlining the string would produce a warning. Same for the other patches. programs/plugplay/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/plugplay/main.c b/programs/plugplay/main.c index 8e007048422..2c4054de3e4 100644 --- a/programs/plugplay/main.c +++ b/programs/plugplay/main.c @@ -26,7 +26,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(plugplay); -static WCHAR plugplayW[] = {'P','l','u','g','P','l','a','y',0}; +static WCHAR plugplayW[] = L"PlugPlay"; static SERVICE_STATUS_HANDLE service_handle; static HANDLE stop_event; -- 2.26.2
1979
Age (days ago)
1979
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Stefaniuc