Author: pschweitzer
Date: Sun Nov 18 16:33:06 2007
New Revision: 30544
URL:
http://svn.reactos.org/svn/reactos?rev=30544&view=rev
Log:
Hackfix Download! to get it working under ReactOS
Modified:
trunk/rosapps/downloader/download.c
trunk/rosapps/downloader/lang/de-DE.rc
trunk/rosapps/downloader/lang/en-US.rc
trunk/rosapps/downloader/lang/es-ES.rc
trunk/rosapps/downloader/lang/fr-FR.rc
trunk/rosapps/downloader/lang/id-ID.rc
trunk/rosapps/downloader/lang/it-IT.rc
trunk/rosapps/downloader/lang/uk-UA.rc
trunk/rosapps/downloader/main.c
Modified: trunk/rosapps/downloader/download.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/downloader/download.c?rev=…
==============================================================================
--- trunk/rosapps/downloader/download.c (original)
+++ trunk/rosapps/downloader/download.c Sun Nov 18 16:33:06 2007
@@ -5,7 +5,7 @@
* COPYRIGHT: Copyright 2001 John R. Sheets (for CodeWeavers)
* Copyright 2004 Mike McCormack (for CodeWeavers)
* Copyright 2005 Ge van Geldorp (gvg(a)reactos.org)
- * Copyright 2007 Dmitry Chapyshev ()lentind(a)yandex.ru)
+ * Copyright 2007 Dmitry Chapyshev (lentind(a)yandex.ru)
*/
/*
* Based on Wine dlls/shdocvw/shdocvw_main.c
@@ -237,7 +237,7 @@
goto end;
}
if (RegOpenKey(HKEY_LOCAL_MACHINE,
- TEXT("Software\\ReactOS\\Download!"),
+ TEXT("Software\\ReactOS\\Downloader"),
&hKey) != ERROR_SUCCESS)
{
goto end;
Modified: trunk/rosapps/downloader/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/downloader/lang/de-DE.rc?r…
==============================================================================
--- trunk/rosapps/downloader/lang/de-DE.rc (original)
+++ trunk/rosapps/downloader/lang/de-DE.rc Sun Nov 18 16:33:06 2007
@@ -51,7 +51,7 @@
IDS_CATS_TITLE "Kategorien"
IDS_CHOOSE_FOLDER "Bitte wählen Sie den Ordner..."
IDS_NOTCREATE_REGKEY "Registryschlüssel könnte nicht erstellt werden."
- IDS_DOWNLOAD_FOLDER "Download!"
+ IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Es konnte kein Ordner mit diesem Namen erstellt
werden!"
IDS_UPDATE_URL "http://svn.reactos.org"
END
Modified: trunk/rosapps/downloader/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/downloader/lang/en-US.rc?r…
==============================================================================
--- trunk/rosapps/downloader/lang/en-US.rc (original)
+++ trunk/rosapps/downloader/lang/en-US.rc Sun Nov 18 16:33:06 2007
@@ -51,7 +51,7 @@
IDS_CATS_TITLE "Categories"
IDS_CHOOSE_FOLDER "Please, choose the folder..."
IDS_NOTCREATE_REGKEY "Could not create the registry key."
- IDS_DOWNLOAD_FOLDER "Download!"
+ IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
IDS_UPDATE_URL "http://svn.reactos.org"
END
Modified: trunk/rosapps/downloader/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/downloader/lang/es-ES.rc?r…
==============================================================================
--- trunk/rosapps/downloader/lang/es-ES.rc (original)
+++ trunk/rosapps/downloader/lang/es-ES.rc Sun Nov 18 16:33:06 2007
@@ -51,7 +51,7 @@
IDS_CATS_TITLE "Categories"
IDS_CHOOSE_FOLDER "Please, choose the folder..."
IDS_NOTCREATE_REGKEY "Could not create the registry key."
- IDS_DOWNLOAD_FOLDER "Download!"
+ IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
IDS_UPDATE_URL "http://svn.reactos.org"
END
Modified: trunk/rosapps/downloader/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/downloader/lang/fr-FR.rc?r…
==============================================================================
--- trunk/rosapps/downloader/lang/fr-FR.rc (original)
+++ trunk/rosapps/downloader/lang/fr-FR.rc Sun Nov 18 16:33:06 2007
@@ -51,7 +51,7 @@
IDS_CATS_TITLE "Catégories"
IDS_CHOOSE_FOLDER "Veuillez choisir le répertoire..."
IDS_NOTCREATE_REGKEY "Échec lors de la création de la clé registre."
- IDS_DOWNLOAD_FOLDER "Download!"
+ IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Échec lors du répertoire avec ce nom !"
IDS_UPDATE_URL "http://svn.reactos.org"
END
Modified: trunk/rosapps/downloader/lang/id-ID.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/downloader/lang/id-ID.rc?r…
==============================================================================
--- trunk/rosapps/downloader/lang/id-ID.rc (original)
+++ trunk/rosapps/downloader/lang/id-ID.rc Sun Nov 18 16:33:06 2007
@@ -51,7 +51,7 @@
IDS_CATS_TITLE "Categories"
IDS_CHOOSE_FOLDER "Please, choose the folder..."
IDS_NOTCREATE_REGKEY "Could not create the registry key."
- IDS_DOWNLOAD_FOLDER "Download!"
+ IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
IDS_UPDATE_URL "http://svn.reactos.org"
END
Modified: trunk/rosapps/downloader/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/downloader/lang/it-IT.rc?r…
==============================================================================
--- trunk/rosapps/downloader/lang/it-IT.rc (original)
+++ trunk/rosapps/downloader/lang/it-IT.rc Sun Nov 18 16:33:06 2007
@@ -51,7 +51,7 @@
IDS_CATS_TITLE "Categories"
IDS_CHOOSE_FOLDER "Please, choose the folder..."
IDS_NOTCREATE_REGKEY "Could not create the registry key."
- IDS_DOWNLOAD_FOLDER "Download!"
+ IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
IDS_UPDATE_URL "http://svn.reactos.org"
END
Modified: trunk/rosapps/downloader/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/downloader/lang/uk-UA.rc?r…
==============================================================================
--- trunk/rosapps/downloader/lang/uk-UA.rc (original)
+++ trunk/rosapps/downloader/lang/uk-UA.rc Sun Nov 18 16:33:06 2007
@@ -59,7 +59,7 @@
IDS_CATS_TITLE "Categories"
IDS_CHOOSE_FOLDER "Please, choose the folder..."
IDS_NOTCREATE_REGKEY "Could not create the registry key."
- IDS_DOWNLOAD_FOLDER "Download!"
+ IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
IDS_UPDATE_URL "http://svn.reactos.org"
END
Modified: trunk/rosapps/downloader/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/downloader/main.c?rev=3054…
==============================================================================
--- trunk/rosapps/downloader/main.c (original)
+++ trunk/rosapps/downloader/main.c Sun Nov 18 16:33:06 2007
@@ -360,7 +360,7 @@
TCHAR szBuf[MAX_PATH];
if (RegOpenKey(HKEY_LOCAL_MACHINE,
- TEXT("Software\\ReactOS\\Download!"),
+ TEXT("Software\\ReactOS\\Downloader"),
&hKey) != ERROR_SUCCESS)
return FALSE;
@@ -415,10 +415,10 @@
DWORD dwDisp, dwSize;
if (RegOpenKey(HKEY_LOCAL_MACHINE,
- TEXT("Software\\ReactOS\\Download!"),
+ TEXT("Software\\ReactOS\\Downloader"),
&hKey) != ERROR_SUCCESS)
{
- if (RegCreateKeyEx(HKEY_LOCAL_MACHINE, L"Software\\ReactOS\\Download!",
+ if (RegCreateKeyEx(HKEY_LOCAL_MACHINE, L"Software\\ReactOS\\Downloader",
0, NULL, REG_OPTION_NON_VOLATILE,
KEY_WRITE, NULL, &hKey, &dwDisp))
{