[appwiz]
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 16 Feb 2014 12:21:52 +0000 (12:21 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 16 Feb 2014 12:21:52 +0000 (12:21 +0000)
- Don't duplicate an export
- Spotted by Victor Martinez

svn path=/trunk/; revision=62211

reactos/dll/cpl/appwiz/appwiz.spec
reactos/dll/cpl/appwiz/createlink.c

index cc66da3..ab7da8e 100644 (file)
@@ -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)
\ No newline at end of file
index 9a3189d..a5ac3c4 100644 (file)
@@ -391,21 +391,6 @@ ShowCreateShortcutWizard(HWND hwndCPl, LPWSTR szPath)
     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)