Migrate OSS up to b7fc0f2d4
(PTO/ETO Change)
This commit is contained in:
commit
769e910e35
|
@ -436,9 +436,14 @@ using namespace Microsoft::Console::Render;
|
|||
|
||||
if (_cPolyText > 0)
|
||||
{
|
||||
if (!PolyTextOutW(_hdcMemoryContext, _pPolyText, (UINT)_cPolyText))
|
||||
for (size_t i = 0; i != _cPolyText; ++i)
|
||||
{
|
||||
hr = E_FAIL;
|
||||
const auto& t = _pPolyText[i];
|
||||
if (!ExtTextOutW(_hdcMemoryContext, t.x, t.y, t.uiFlags, &t.rcl, t.lpstr, t.n, t.pdx))
|
||||
{
|
||||
hr = E_FAIL;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
_polyStrings.clear();
|
||||
|
|
Loading…
Reference in New Issue