mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 10:52:52 +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:
parent
643b00912f
commit
eebbc5e6b4
|
@ -647,19 +647,11 @@ OnResolutionChanged(PINFO pInfo, INT position)
|
||||||
Pixel,
|
Pixel,
|
||||||
sizeof(Pixel) / sizeof(WCHAR)))
|
sizeof(Pixel) / sizeof(WCHAR)))
|
||||||
{
|
{
|
||||||
#ifdef _MSC_VER
|
swprintf(Buffer,
|
||||||
_swprintf(Buffer,
|
Pixel,
|
||||||
Pixel,
|
pInfo->DisplayDeviceList->Resolutions[position].dmPelsWidth,
|
||||||
pInfo->DisplayDeviceList->Resolutions[position].dmPelsWidth,
|
pInfo->DisplayDeviceList->Resolutions[position].dmPelsHeight,
|
||||||
pInfo->DisplayDeviceList->Resolutions[position].dmPelsHeight,
|
Pixel);
|
||||||
Pixel);
|
|
||||||
#else
|
|
||||||
swprintf(Buffer,
|
|
||||||
Pixel,
|
|
||||||
pInfo->DisplayDeviceList->Resolutions[position].dmPelsWidth,
|
|
||||||
pInfo->DisplayDeviceList->Resolutions[position].dmPelsHeight,
|
|
||||||
Pixel);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue