mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
- Make rapps MSVC-friendly
svn path=/trunk/; revision=42483
This commit is contained in:
parent
3a66251576
commit
a980836dd8
2 changed files with 3 additions and 3 deletions
|
@ -544,6 +544,7 @@ ParserOpen(LPCWSTR filename, BOOL write_access)
|
|||
HANDLE hFile = INVALID_HANDLE_VALUE;
|
||||
int i, j;
|
||||
ITEMS *tempProfile;
|
||||
static const WCHAR wszSeparator[] = L"\\rapps\\";
|
||||
|
||||
if (!CurProfile)
|
||||
for (i = 0; i < N_CACHED_ITEMS; i++)
|
||||
|
@ -558,7 +559,6 @@ ParserOpen(LPCWSTR filename, BOOL write_access)
|
|||
|
||||
GetCurrentDirectoryW(MAX_PATH, szDir);
|
||||
|
||||
static const WCHAR wszSeparator[] = L"\\rapps\\";
|
||||
wcscpy(buffer, szDir);
|
||||
wcscat(buffer, wszSeparator);
|
||||
wcscat(buffer, filename);
|
||||
|
|
|
@ -15,8 +15,8 @@ HIMAGELIST hImageTreeView = NULL;
|
|||
INT SelectedEnumType = ENUM_ALL_COMPONENTS;
|
||||
|
||||
|
||||
CALLBACK
|
||||
BOOL
|
||||
CALLBACK
|
||||
EnumInstalledAppProc(INT ItemIndex, LPWSTR lpName, LPWSTR lpKeyName, LPARAM lParam)
|
||||
{
|
||||
WCHAR szText[MAX_PATH];
|
||||
|
@ -49,8 +49,8 @@ FreeAvailableAppList(VOID)
|
|||
}
|
||||
}
|
||||
|
||||
CALLBACK
|
||||
BOOL
|
||||
CALLBACK
|
||||
EnumAvailableAppProc(APPLICATION_INFO Info)
|
||||
{
|
||||
PAPPLICATION_INFO ItemInfo;
|
||||
|
|
Loading…
Reference in a new issue