aboutsummaryrefslogtreecommitdiff
path: root/c/debug.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/debug.cpp
parentb2a018ff822bcdb5b9b691025a5fc1eb6fc13b4b (diff)
downloadEpisodeBrowser-ac7d676a1c457f71f1d3ae17d74699dd95c9c985.tar.gz
Normalize error message formatting.
Diffstat (limited to 'c/debug.cpp')
-rw-r--r--c/debug.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}