Skip to content

Commit

Permalink
MPCVideoDec: немного увеличен размер контрола для выбора адаптера.
Browse files Browse the repository at this point in the history
  • Loading branch information
v0lt committed Dec 25, 2024
1 parent b2fd33f commit 3ded1ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/DSUtil/text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ CStringA UrlDecode(const CStringA& str_in)

bool Unescape(CStringW& str)
{
int len = str.GetLength();
const int len = str.GetLength();
HRESULT hr = UrlUnescapeW(str.GetBuffer(), nullptr, nullptr, URL_ESCAPE_URI_COMPONENT | URL_UNESCAPE_INPLACE);
if (SUCCEEDED(hr)) {
str.ReleaseBuffer();
Expand Down
4 changes: 2 additions & 2 deletions src/filters/transform/MPCVideoDec/MPCVideoDecSettingsWnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ bool CMPCVideoDecSettingsWnd::OnActivate()
y += 28;

// D3D11 Adapter
CalcTextRect(rect, x1, y, label_w - 88);
CalcTextRect(rect, x1, y, label_w - 68);
m_txtHWAdapter.Create(ResStr(IDS_VDF_HW_ADAPTER), WS_VISIBLE | WS_CHILD, rect, this, (UINT)IDC_STATIC);
CalcRect(rect, x2 - 64, y, control_w + 64, 200); rect.top -= 4;
CalcRect(rect, x2 - 68, y, control_w + 68, 200); rect.top -= 4;
m_cbHWAdapter.Create(dwStyle | CBS_DROPDOWNLIST | WS_VSCROLL, rect, this, IDC_PP_HW_ADAPTER);
y += 28;

Expand Down

0 comments on commit 3ded1ea

Please sign in to comment.