From 3f842c733568aa9068aa83fad52540eb98f334b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= <john@ankarstrom.se>
Date: Wed, 20 Jul 2022 20:25:59 +0200
Subject: Simplify require, prefer.

---
 c/episodelistview.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'c/episodelistview.cpp')

diff --git a/c/episodelistview.cpp b/c/episodelistview.cpp
index 5df33a1..676f375 100644
--- a/c/episodelistview.cpp
+++ b/c/episodelistview.cpp
@@ -90,7 +90,7 @@ LRESULT EpisodeListView::HandleNotify(const LPARAM lParam)
 		    {
 			extern HFONT g_hfBold;
 			if (!Pl("track_episodes","watched",pLvCd->nmcd.lItemlParam)) {
-				require<SelectObject>(pLvCd->nmcd.hdc, g_hfBold);
+				require(SelectObject(pLvCd->nmcd.hdc, g_hfBold));
 				return CDRF_NEWFONT;
 			}
 			break;
@@ -125,9 +125,9 @@ LRESULT EpisodeListView::HandleNotify(const LPARAM lParam)
 	    {
 		extern HMENU g_hPopupMenu;
 		const DWORD dwPos = GetMessagePos();
-		require<TrackPopupMenu>(g_hPopupMenu, TPM_RIGHTBUTTON,
+		require(TrackPopupMenu(g_hPopupMenu, TPM_RIGHTBUTTON,
 		    LOWORD(dwPos), HIWORD(dwPos), 0,
-		    m_hWndParent, (const RECT*)NULL);
+		    m_hWndParent, (const RECT*)NULL));
 		break;
 	    }
 	}
-- 
cgit v1.2.3