Author: dchapyshev
Date: Sat Aug 15 13:41:56 2009
New Revision: 42695
URL:
http://svn.reactos.org/svn/reactos?rev=42695&view=rev
Log:
- Define APPLICATION_DATEBASE_URL
Modified:
trunk/reactos/base/applications/rapps/available.c
trunk/reactos/base/applications/rapps/rapps.h
Modified: trunk/reactos/base/applications/rapps/available.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/av…
==============================================================================
--- trunk/reactos/base/applications/rapps/available.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps/available.c [iso-8859-1] Sat Aug 15 13:41:56
2009
@@ -76,7 +76,7 @@
if (hFind == INVALID_HANDLE_VALUE)
{
if (GetFileAttributesW(szCabPath) == 0xFFFFFFFF)
-
DownloadApplicationsDB(L"http://opendn.org/rappmgr.cab")cab");
+ DownloadApplicationsDB(APPLICATION_DATEBASE_URL);
ExtractFilesFromCab(szCabPath, szAppsPath);
hFind = FindFirstFileW(szPath, &FindFileData);
Modified: trunk/reactos/base/applications/rapps/rapps.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/ra…
==============================================================================
--- trunk/reactos/base/applications/rapps/rapps.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps/rapps.h [iso-8859-1] Sat Aug 15 13:41:56 2009
@@ -8,6 +8,8 @@
#include <wchar.h>
#include "resource.h"
+
+#define APPLICATION_DATEBASE_URL
L"http://opendn.org/rappmgr.cab"
#define SPLIT_WIDTH 4
#define MAX_STR_LEN 256