Author: sginsberg
Date: Fri Aug 7 23:10:16 2009
New Revision: 42483
URL:
http://svn.reactos.org/svn/reactos?rev=42483&view=rev
Log:
- Make rapps MSVC-friendly
Modified:
trunk/reactos/base/applications/rapps/parser.c
trunk/reactos/base/applications/rapps/winmain.c
Modified: trunk/reactos/base/applications/rapps/parser.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/pa…
==============================================================================
--- trunk/reactos/base/applications/rapps/parser.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps/parser.c [iso-8859-1] Fri Aug 7 23:10:16 2009
@@ -544,6 +544,7 @@
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 @@
GetCurrentDirectoryW(MAX_PATH, szDir);
- static const WCHAR wszSeparator[] = L"\\rapps\\";
wcscpy(buffer, szDir);
wcscat(buffer, wszSeparator);
wcscat(buffer, filename);
Modified: trunk/reactos/base/applications/rapps/winmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/wi…
==============================================================================
--- trunk/reactos/base/applications/rapps/winmain.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps/winmain.c [iso-8859-1] Fri Aug 7 23:10:16 2009
@@ -15,8 +15,8 @@
INT SelectedEnumType = ENUM_ALL_COMPONENTS;
+BOOL
CALLBACK
-BOOL
EnumInstalledAppProc(INT ItemIndex, LPWSTR lpName, LPWSTR lpKeyName, LPARAM lParam)
{
WCHAR szText[MAX_PATH];
@@ -49,8 +49,8 @@
}
}
+BOOL
CALLBACK
-BOOL
EnumAvailableAppProc(APPLICATION_INFO Info)
{
PAPPLICATION_INFO ItemInfo;