mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 19:26:16 +00:00
[MSTSC]
* Don't use _swprintf in the MSVC build, it shouldn't be exported. CORE-8174 svn path=/trunk/; revision=63471
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user