Skip to content

Commit

Permalink
Косметика кода.
Browse files Browse the repository at this point in the history
  • Loading branch information
v0lt committed Feb 16, 2024
1 parent e095a54 commit 428a286
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/apps/mplayerc/OSD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -443,10 +443,10 @@ void COSD::DrawMessage()

GradientFill(&m_MemDC, &rectMessages);

DWORD uFormat = DT_LEFT|DT_VCENTER|DT_NOPREFIX;
UINT uFormat = DT_LEFT|DT_VCENTER|DT_NOPREFIX;

if (rectText.right + 10 >= (rectMessages.right)) {
uFormat = uFormat|DT_END_ELLIPSIS;
uFormat |= DT_END_ELLIPSIS;
}

const CAppSettings& s = AfxGetAppSettings();
Expand Down Expand Up @@ -999,7 +999,7 @@ void COSD::DrawWnd()

GradientFill(&mdc, &rcBar);

DWORD uFormat = DT_LEFT | DT_TOP | DT_END_ELLIPSIS | DT_NOPREFIX;
const UINT uFormat = DT_LEFT | DT_TOP | DT_END_ELLIPSIS | DT_NOPREFIX;

CRect r;

Expand Down

0 comments on commit 428a286

Please sign in to comment.