Author: gadamopoulos
Date: Sun Feb 16 12:21:52 2014
New Revision: 62211
URL:
http://svn.reactos.org/svn/reactos?rev=62211&view=rev
Log:
[appwiz]
- Don't duplicate an export
- Spotted by Victor Martinez
Modified:
trunk/reactos/dll/cpl/appwiz/appwiz.spec
trunk/reactos/dll/cpl/appwiz/createlink.c
Modified: trunk/reactos/dll/cpl/appwiz/appwiz.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/appwiz/appwiz.spec…
==============================================================================
--- trunk/reactos/dll/cpl/appwiz/appwiz.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/appwiz/appwiz.spec [iso-8859-1] Sun Feb 16 12:21:52 2014
@@ -1,4 +1,4 @@
@ stdcall CPlApplet(ptr long ptr ptr)
-@ stdcall NewLinkHere(ptr long ptr ptr)
+@ stdcall NewLinkHere(ptr long ptr ptr) NewLinkHereA
@ stdcall NewLinkHereA(ptr long ptr ptr)
@ stdcall NewLinkHereW(ptr long ptr ptr)
Modified: trunk/reactos/dll/cpl/appwiz/createlink.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/appwiz/createlink.…
==============================================================================
--- trunk/reactos/dll/cpl/appwiz/createlink.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/appwiz/createlink.c [iso-8859-1] Sun Feb 16 12:21:52 2014
@@ -391,21 +391,6 @@
return TRUE;
}
-
-LONG
-CALLBACK
-NewLinkHere(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
-{
- WCHAR szFile[MAX_PATH];
-
- if (MultiByteToWideChar(CP_ACP, 0, (LPSTR) lParam1, -1, szFile, MAX_PATH))
- {
- return ShowCreateShortcutWizard(hwndCPl, szFile);
- }
- return -1;
-}
-
-
LONG
CALLBACK
NewLinkHereW(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)