projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cee132
)
[APPWIZ]
author
Amine Khaldi
<amine.khaldi@reactos.org>
Mon, 26 May 2014 14:24:06 +0000
(14:24 +0000)
committer
Amine 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
patch
|
blob
|
history
diff --git
a/reactos/dll/cpl/appwiz/createlink.c
b/reactos/dll/cpl/appwiz/createlink.c
index
a5ac3c4
..
361ca15
100644
(file)
--- a/
reactos/dll/cpl/appwiz/createlink.c
+++ b/
reactos/dll/cpl/appwiz/createlink.c
@@
-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);