From ac7d676a1c457f71f1d3ae17d74699dd95c9c985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 7 Sep 2022 01:22:30 +0200 Subject: Normalize error message formatting. --- c/episodelistview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/episodelistview.cpp') 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; } -- cgit v1.2.3