* Don't use _swprintf in the MSVC build, it shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63465
This commit is contained in:
Amine Khaldi 2014-05-26 14:24:06 +00:00
parent 9cee13244a
commit e8a5e5820e

View 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);