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/window.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/window.h') 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; }(); -- cgit v1.2.3