From 23df5644c2ce8209a8387257f8d6942736008663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 2 Mar 2022 22:03:00 +0100 Subject: Update code style. --- c/episodelistview.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'c/episodelistview.c') diff --git a/c/episodelistview.c b/c/episodelistview.c index ea1d627..9aa73ef 100644 --- a/c/episodelistview.c +++ b/c/episodelistview.c @@ -45,7 +45,7 @@ ElvHandleNotify(LPARAM lParam) switch (lpNmLv->hdr.code) { case LVN_ITEMCHANGED: if ((lpNmLv->uChanged & LVIF_STATE) - && (lpNmLv->uNewState & LVIS_FOCUSED)) { + && (lpNmLv->uNewState & LVIS_FOCUSED)) { LpLviElvSelection->iItem = lpNmLv->iItem; LpLviElvSelection->lParam = lpNmLv->lParam; ElvUpdateName(LpLviElvSelection); @@ -87,8 +87,8 @@ b: Fd(f); extern HMENU HPopupMenu; dwPos = GetMessagePos(); TrackPopupMenu(HPopupMenu, TPM_RIGHTBUTTON, - LOWORD(dwPos), HIWORD(dwPos), 0, - HWnd, NULL); + LOWORD(dwPos), HIWORD(dwPos), 0, + HWnd, NULL); break; } } @@ -99,7 +99,7 @@ void ElvRedraw() { RedrawWindow(HElv, NULL, NULL, - RDW_ERASE|RDW_FRAME|RDW_INVALIDATE|RDW_ALLCHILDREN); + RDW_ERASE|RDW_FRAME|RDW_INVALIDATE|RDW_ALLCHILDREN); } void @@ -134,7 +134,7 @@ ElvSelectRecent() if (iItem > 5) ElvSetTop(iItem-5); ListView_SetItemState(HElv, iItem, - LVIS_SELECTED|LVIS_FOCUSED, LVIS_SELECTED|LVIS_FOCUSED); + LVIS_SELECTED|LVIS_FOCUSED, LVIS_SELECTED|LVIS_FOCUSED); LpLviElvSelection->iItem = iItem; LpLviElvSelection->lParam = iEpisode; ElvUpdateName(LpLviElvSelection); @@ -215,7 +215,7 @@ e: Fd(f2); ElvSetTop(iTop); if (LpLviElvSelection) ListView_SetItemState(HElv, LpLviElvSelection->iItem, - LVIS_SELECTED, LVIS_SELECTED); + LVIS_SELECTED, LVIS_SELECTED); SendMessage(HElv, WM_SETREDRAW, TRUE, 0); ElvRedraw(); -- cgit v1.2.3