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/debug.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/debug.cpp') diff --git a/c/debug.cpp b/c/debug.cpp index 39dfb5d..dbd536e 100644 --- a/c/debug.cpp +++ b/c/debug.cpp @@ -20,13 +20,13 @@ Benchmark::Benchmark(const char* const name, const int id, const int avgmax) { if (!freq) { if (!QueryPerformanceFrequency(&liFreq)) - throw Err(WINDOWS, L"Tick frequency could not be queried: %s"); + throw Err(WINDOWS, L"Tick frequency could not be queried: %s."); freq = liFreq.QuadPart; } LARGE_INTEGER liTicks; if (!QueryPerformanceCounter(&liTicks)) - throw Err(WINDOWS, L"Ticks could not be retrieved: %s"); + throw Err(WINDOWS, L"Ticks could not be retrieved: %s."); ticks = liTicks.QuadPart; } -- cgit v1.2.3