aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-03-02 22:03:00 +0100
committerJohn Ankarström <john@ankarstrom.se>2022-03-03 12:05:55 +0100
commit23df5644c2ce8209a8387257f8d6942736008663 (patch)
tree4e74c3ea0fe1a7e3b1e8dd2a2bd312ec1be3e0cb /c/episodelistview.c
parent170e048f4ceb11633b62cfcc5b82df6a5aa9c27b (diff)
downloadEpisodeBrowser-23df5644c2ce8209a8387257f8d6942736008663.tar.gz
Update code style.
Diffstat (limited to 'c/episodelistview.c')
-rw-r--r--c/episodelistview.c12
1 files changed, 6 insertions, 6 deletions
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();