Author: akhaldi
Date: Mon May 26 15:39:58 2014
New Revision: 63471
URL:
http://svn.reactos.org/svn/reactos?rev=63471&view=rev
Log:
[MSTSC]
* Don't use _swprintf in the MSVC build, it shouldn't be exported.
CORE-8174
Modified:
trunk/reactos/base/applications/mstsc/connectdialog.c
Modified: trunk/reactos/base/applications/mstsc/connectdialog.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mstsc/co…
==============================================================================
--- trunk/reactos/base/applications/mstsc/connectdialog.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mstsc/connectdialog.c [iso-8859-1] Mon May 26 15:39:58
2014
@@ -647,19 +647,11 @@
Pixel,
sizeof(Pixel) / sizeof(WCHAR)))
{
-#ifdef _MSC_VER
- _swprintf(Buffer,
- Pixel,
-
pInfo->DisplayDeviceList->Resolutions[position].dmPelsWidth,
-
pInfo->DisplayDeviceList->Resolutions[position].dmPelsHeight,
- Pixel);
-#else
- swprintf(Buffer,
- Pixel,
- pInfo->DisplayDeviceList->Resolutions[position].dmPelsWidth,
-
pInfo->DisplayDeviceList->Resolutions[position].dmPelsHeight,
- Pixel);
-#endif
+ swprintf(Buffer,
+ Pixel,
+ pInfo->DisplayDeviceList->Resolutions[position].dmPelsWidth,
+ pInfo->DisplayDeviceList->Resolutions[position].dmPelsHeight,
+ Pixel);
}
}