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

svn path=/trunk/; revision=63471

reactos/base/applications/mstsc/connectdialog.c

index c67ecd9..f01e145 100644 (file)
@@ -647,19 +647,11 @@ OnResolutionChanged(PINFO pInfo, INT position)
                         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);
         }
     }