summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-07-31 08:06:01 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-07-31 08:06:01 +0200
commit1ffd0a58b91702b7a1e435ba03e992699e331bc4 (patch)
tree51f5248de3264afb45186bb65d623a1f7ff0a9ce /src
parent4fc90b86bf1fad0d53e814fcc58998ba47065edd (diff)
downloadweechat-1ffd0a58b91702b7a1e435ba03e992699e331bc4.zip
core: add missing trailing newline char in doc generation error messages
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-doc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-doc.c b/src/core/wee-doc.c
index d9cf309b8..bfadc0a15 100644
--- a/src/core/wee-doc.c
+++ b/src/core/wee-doc.c
@@ -126,7 +126,7 @@ doc_gen_open_file (const char *path, const char *doc, const char *name,
if (!file)
{
string_fprintf (stderr,
- "doc generator: ERROR: unable to write file \"%s\"",
+ "doc generator: ERROR: unable to write file \"%s\"\n",
filename);
return NULL;
}
@@ -1648,7 +1648,7 @@ doc_generate (const char *path)
{
string_fprintf (
stderr,
- "doc generator: ERROR: failed to create directory \"%s\")",
+ "doc generator: ERROR: failed to create directory \"%s\")\n",
path);
goto end;
}