[Commits] [SCM] claws branch, gtk2, updated. 3.20.0-92-g16752372b
paul at claws-mail.org
paul at claws-mail.org
Thu Jun 6 08:57:14 UTC 2024
The branch, gtk2 has been updated
via 16752372ba22458c41e190de30ddab25763d2f57 (commit)
from 4636eae6c488b341b0078985116ec1d780f4e771 (commit)
Summary of changes:
src/compose.c | 4 ++++
1 file changed, 4 insertions(+)
- Log -----------------------------------------------------------------
commit 16752372ba22458c41e190de30ddab25763d2f57
Author: Paul <paul at claws-mail.org>
Date: Thu Jun 6 09:55:03 2024 +0100
don't remain silent when file insertion fails
diff --git a/src/compose.c b/src/compose.c
index 77edb3e7b..3ec5e3097 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -3805,6 +3805,10 @@ static ComposeInsertResult compose_insert_file(Compose *compose, const gchar *fi
compose->autowrap = prev_autowrap;
if (compose->autowrap)
compose_wrap_all(compose);
+ } else {
+ gchar *filename = g_path_get_basename(file);
+ debug_print("Can't insert file '%s' (invalid character)\n", filename);
+ g_free(filename);
}
g_string_free(file_contents, TRUE);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list