mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 16:51:18 +00:00
fix compile errors
svn path=/trunk/; revision=16397
This commit is contained in:
parent
7a42053e8b
commit
1d354a90fe
1 changed files with 9 additions and 11 deletions
|
@ -656,6 +656,15 @@ static Entry* read_tree_unix(Root* root, LPCTSTR path, SORT_ORDER sortOrder, HWN
|
|||
#endif
|
||||
|
||||
|
||||
static void free_strret(STRRET* str)
|
||||
{
|
||||
if (str->uType == STRRET_WSTR)
|
||||
(*Globals.iMalloc->lpVtbl->Free)(Globals.iMalloc, str->UNION_MEMBER(pOleStr));
|
||||
}
|
||||
|
||||
|
||||
#ifndef UNICODE
|
||||
|
||||
static LPSTR strcpyn(LPSTR dest, LPCSTR source, size_t count)
|
||||
{
|
||||
LPCSTR s;
|
||||
|
@ -667,17 +676,6 @@ static LPSTR strcpyn(LPSTR dest, LPCSTR source, size_t count)
|
|||
return dest;
|
||||
}
|
||||
|
||||
static LPWSTR wcscpyn(LPWSTR dest, LPCWSTR source, size_t count)
|
||||
{
|
||||
LPCWSTR s;
|
||||
LPWSTR d = dest;
|
||||
|
||||
for(s=source; count&&(*d++=*s++); )
|
||||
count--;
|
||||
|
||||
return dest;
|
||||
}
|
||||
|
||||
static void get_strretA(STRRET* str, const SHITEMID* shiid, LPSTR buffer, int len)
|
||||
{
|
||||
switch(str->uType) {
|
||||
|
|
Loading…
Reference in a new issue