Commit 67ed76e6 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

setupapi: Do not use wide character constants.

parent df01f671
...@@ -271,7 +271,7 @@ BOOL WINAPI SetupDiBuildClassInfoListExW( ...@@ -271,7 +271,7 @@ BOOL WINAPI SetupDiBuildClassInfoListExW(
TRACE("Guid: %p\n", szKeyName); TRACE("Guid: %p\n", szKeyName);
if (dwGuidListIndex < ClassGuidListSize) if (dwGuidListIndex < ClassGuidListSize)
{ {
if (szKeyName[0] == L'{' && szKeyName[37] == L'}') if (szKeyName[0] == '{' && szKeyName[37] == '}')
{ {
szKeyName[37] = 0; szKeyName[37] = 0;
} }
...@@ -447,7 +447,7 @@ BOOL WINAPI SetupDiClassGuidsFromNameExW( ...@@ -447,7 +447,7 @@ BOOL WINAPI SetupDiClassGuidsFromNameExW(
TRACE("Guid: %p\n", szKeyName); TRACE("Guid: %p\n", szKeyName);
if (dwGuidListIndex < ClassGuidListSize) if (dwGuidListIndex < ClassGuidListSize)
{ {
if (szKeyName[0] == L'{' && szKeyName[37] == L'}') if (szKeyName[0] == '{' && szKeyName[37] == '}')
{ {
szKeyName[37] = 0; szKeyName[37] = 0;
} }
......
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