[APPWIZ]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 26 May 2014 14:24:06 +0000 (14:24 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 26 May 2014 14:24:06 +0000 (14:24 +0000)
* Don't use _swprintf in the MSVC build, it shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63465

reactos/dll/cpl/appwiz/createlink.c

index a5ac3c4..361ca15 100644 (file)
@@ -226,11 +226,7 @@ WelcomeDlgProc(HWND hwndDlg,
                         LoadStringW(hApplet, IDS_ERROR_NOT_FOUND, szPath, MAX_PATH) < MAX_PATH)
                     {
                         WCHAR szError[MAX_PATH + 100];
-#ifdef _MSC_VER
-                        _swprintf(szError, szPath, pContext->szTarget);
-#else
                         swprintf(szError, szPath, pContext->szTarget);
-#endif
                         MessageBoxW(hwndDlg, szError, szDesc, MB_ICONERROR);
                     }
                     SendDlgItemMessage(hwndDlg, IDC_SHORTCUT_LOCATION, EM_SETSEL, 0, -1);