mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[APPWIZ]
* 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:
parent
9cee13244a
commit
e8a5e5820e
1 changed files with 0 additions and 4 deletions
|
@ -226,11 +226,7 @@ WelcomeDlgProc(HWND hwndDlg,
|
||||||
LoadStringW(hApplet, IDS_ERROR_NOT_FOUND, szPath, MAX_PATH) < MAX_PATH)
|
LoadStringW(hApplet, IDS_ERROR_NOT_FOUND, szPath, MAX_PATH) < MAX_PATH)
|
||||||
{
|
{
|
||||||
WCHAR szError[MAX_PATH + 100];
|
WCHAR szError[MAX_PATH + 100];
|
||||||
#ifdef _MSC_VER
|
|
||||||
_swprintf(szError, szPath, pContext->szTarget);
|
|
||||||
#else
|
|
||||||
swprintf(szError, szPath, pContext->szTarget);
|
swprintf(szError, szPath, pContext->szTarget);
|
||||||
#endif
|
|
||||||
MessageBoxW(hwndDlg, szError, szDesc, MB_ICONERROR);
|
MessageBoxW(hwndDlg, szError, szDesc, MB_ICONERROR);
|
||||||
}
|
}
|
||||||
SendDlgItemMessage(hwndDlg, IDC_SHORTCUT_LOCATION, EM_SETSEL, 0, -1);
|
SendDlgItemMessage(hwndDlg, IDC_SHORTCUT_LOCATION, EM_SETSEL, 0, -1);
|
||||||
|
|
Loading…
Reference in a new issue