aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-09-07 01:22:30 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-09-07 01:22:30 +0200
commitac7d676a1c457f71f1d3ae17d74699dd95c9c985 (patch)
tree96d44cc6740de053db377ac51f3102b9871a90d4 /c/episodelistview.cpp
parentb2a018ff822bcdb5b9b691025a5fc1eb6fc13b4b (diff)
downloadEpisodeBrowser-ac7d676a1c457f71f1d3ae17d74699dd95c9c985.tar.gz
Normalize error message formatting.
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 db67ca9..7d77331 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: %s.");
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: %s.");
return 0;
}