Remove some uses of wine/unicode.h functions.
This commit is contained in:
parent
12a9ec138d
commit
c62940a1ac
|
@ -660,8 +660,8 @@ static HRESULT Stream_LoadAdvertiseInfo( IStream* stm, LPWSTR *str )
|
|||
}
|
||||
|
||||
*str = HeapAlloc( GetProcessHeap(), 0,
|
||||
(strlenW(buffer.szwDarwinID)+1) * sizeof(WCHAR) );
|
||||
strcpyW( *str, buffer.szwDarwinID );
|
||||
(lstrlenW(buffer.szwDarwinID)+1) * sizeof(WCHAR) );
|
||||
lstrcpyW( *str, buffer.szwDarwinID );
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
@ -958,7 +958,7 @@ static HRESULT WINAPI IPersistStream_fnSave(
|
|||
* so if the executable does not exist the just trust the path they
|
||||
* gave us
|
||||
*/
|
||||
if (!*exePath) strcpyW(exePath,This->sPath);
|
||||
if (!*exePath) lstrcpyW(exePath,This->sPath);
|
||||
}
|
||||
|
||||
memset(&header, 0, sizeof(header));
|
||||
|
|
Loading…
Reference in New Issue