setupapi: Do not use wide character constants.

This commit is contained in:
Michael Stefaniuc 2007-06-21 22:56:32 +02:00 committed by Alexandre Julliard
parent df01f67175
commit 67ed76e685
1 changed files with 2 additions and 2 deletions

View File

@ -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(
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;
} }