aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-09-07 23:33:08 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-09-07 23:33:08 +0200
commitb5917be252caf9d38ae9466352c4176ef25732e3 (patch)
tree8eee2398b84cd533999a6d6f7539131daef5acfd /c/episodelistview.cpp
parentac7d676a1c457f71f1d3ae17d74699dd95c9c985 (diff)
downloadEpisodeBrowser-b5917be252caf9d38ae9466352c4176ef25732e3.tar.gz
Simplify Err message format.
Diffstat (limited to 'c/episodelistview.cpp')
-rw-r--r--c/episodelistview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/episodelistview.cpp b/c/episodelistview.cpp
index 7d77331..320f98f 100644
--- a/c/episodelistview.cpp
+++ b/c/episodelistview.cpp
@@ -163,7 +163,7 @@ LRESULT EpisodeListView::HandleNotify(const LPARAM lParam)
if (!e.bWatched) {
extern HFONT g_hfBold;
if (!SelectObject(nm->nmcd.hdc, g_hfBold))
- throw Err(WINDOWS, L"Bold font could not be selected: %s.");
+ throw Err(WINDOWS, L"Bold font could not be selected");
return CDRF_NEWFONT;
}
break;
@@ -186,7 +186,7 @@ LRESULT EpisodeListView::HandleNotify(const LPARAM lParam)
const DWORD pos = GetMessagePos();
if (!TrackPopupMenu(parent.hMenuPopup, TPM_RIGHTBUTTON,
LOWORD(pos), HIWORD(pos), 0, parent.hWnd, nullptr))
- throw Err(WINDOWS, L"Context menu could not be opened: %s.");
+ throw Err(WINDOWS, L"Context menu could not be opened");
return 0;
}