Commit c62940a1 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Remove some uses of wine/unicode.h functions.

parent 12a9ec13
......@@ -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));
......
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