Fix font size of HTML clipboard contents (#15046)

This regression is caused by 0eff8c0. It previously said `.Y` here.
I went through the diff again and found no other width/height mistake.

Closes #14762
Closes #15043
This commit is contained in:
Leonard Hecker
2023-03-27 18:44:54 +02:00
committed by GitHub
parent c4d029829a
commit d9efdae982

View File

@@ -1104,7 +1104,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
// content, which is unexpected.
const auto htmlData = formats == nullptr || WI_IsFlagSet(formats.Value(), CopyFormat::HTML) ?
TextBuffer::GenHTML(bufferData,
_actualFont.GetUnscaledSize().width,
_actualFont.GetUnscaledSize().height,
_actualFont.GetFaceName(),
bgColor) :
"";