Michael Stefaniuc : setupapi: Do not use wide character constants.
Module: wine Branch: master Commit: 67ed76e685ec89b243af11fdb892e38929de0110 URL: http://source.winehq.org/git/wine.git/?a=commit;h=67ed76e685ec89b243af11fdb8... Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Thu Jun 21 22:56:32 2007 +0200 setupapi: Do not use wide character constants. --- dlls/setupapi/devinst.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c index e2a2dfe..0ec10dc 100644 --- a/dlls/setupapi/devinst.c +++ b/dlls/setupapi/devinst.c @@ -271,7 +271,7 @@ BOOL WINAPI SetupDiBuildClassInfoListExW( TRACE("Guid: %p\n", szKeyName); if (dwGuidListIndex < ClassGuidListSize) { - if (szKeyName[0] == L'{' && szKeyName[37] == L'}') + if (szKeyName[0] == '{' && szKeyName[37] == '}') { szKeyName[37] = 0; } @@ -447,7 +447,7 @@ BOOL WINAPI SetupDiClassGuidsFromNameExW( TRACE("Guid: %p\n", szKeyName); if (dwGuidListIndex < ClassGuidListSize) { - if (szKeyName[0] == L'{' && szKeyName[37] == L'}') + if (szKeyName[0] == '{' && szKeyName[37] == '}') { szKeyName[37] = 0; }
participants (1)
-
Alexandre Julliard