[Commits] [SCM] claws branch, gtk2, updated. 3.19.1-46-g1548f4536

mones at claws-mail.org mones at claws-mail.org
Tue Apr 18 21:58:56 UTC 2023


The branch, gtk2 has been updated
       via  1548f453642afe28fc2035179cb6fbe4fb138780 (commit)
      from  90748faf70934229cda4863f605094479dbaa390 (commit)

Summary of changes:
 src/common/utils.c | 2 ++
 1 file changed, 2 insertions(+)


- Log -----------------------------------------------------------------
commit 1548f453642afe28fc2035179cb6fbe4fb138780
Author: Ricardo Mones <ricardo at mones.org>
Date:   Tue Apr 18 23:56:56 2023 +0200

    Quit searching if string became empty

diff --git a/src/common/utils.c b/src/common/utils.c
index 35cf496f8..d1046455a 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -609,6 +609,8 @@ gchar *escape_internal_quotes(gchar *str, gchar quote_chr)
 		return str;
 
 	g_strstrip(str);
+	if (*str == '\0')
+		return str;
 	/* search for unescaped quote_chr */
 	p = str;
 	if (*p == quote_chr)

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list