aboutsummaryrefslogtreecommitdiff
path: root/c/window.h
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/window.h
parentb2a018ff822bcdb5b9b691025a5fc1eb6fc13b4b (diff)
downloadEpisodeBrowser-ac7d676a1c457f71f1d3ae17d74699dd95c9c985.tar.gz
Normalize error message formatting.
Diffstat (limited to 'c/window.h')
-rw-r--r--c/window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/window.h b/c/window.h
index 9d247ec..16ea48e 100644
--- a/c/window.h
+++ b/c/window.h
@@ -19,9 +19,9 @@ struct Window
{
HMENU hm;
if (!(hm = LoadMenuW(nullptr, MAKEINTRESOURCE(IDR_POPUPMENU))))
- throw Err(WINDOWS, L"Context menu could not be loaded: %s");
+ throw Err(WINDOWS, L"Context menu could not be loaded: %s.");
if (!GetSubMenu(hm, 0))
- throw Err(WINDOWS, L"Submenu could not be retrieved: %s");
+ throw Err(WINDOWS, L"Submenu could not be retrieved: %s.");
return hm;
}();