aboutsummaryrefslogtreecommitdiff
path: root/c/err.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/err.h
parentb2a018ff822bcdb5b9b691025a5fc1eb6fc13b4b (diff)
downloadEpisodeBrowser-ac7d676a1c457f71f1d3ae17d74699dd95c9c985.tar.gz
Normalize error message formatting.
Diffstat (limited to 'c/err.h')
-rw-r--r--c/err.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/err.h b/c/err.h
index 4c6e829..73a5fc9 100644
--- a/c/err.h
+++ b/c/err.h
@@ -17,7 +17,7 @@ enum ErrType : unsigned char
struct Err
{
std::wstring what;
- Err(ErrType t, const wchar_t* fmt = L"%s");
+ Err(ErrType t, const wchar_t* fmt = L"%s.");
inline Err(ErrType t, std::wstring fmt) : Err(t, fmt.c_str()) {}
};