[Commits] [SCM] claws branch, master, updated. 4.2.0-102-g47eb49610

jonathan at claws-mail.org jonathan at claws-mail.org
Mon May 27 08:50:34 UTC 2024


The branch, master has been updated
       via  47eb496104ce99a42e299a9e52373c4e2d96eab9 (commit)
      from  2bb4b53bb904ed8923d286698afae0371bd318a1 (commit)

Summary of changes:
 src/compose.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 47eb496104ce99a42e299a9e52373c4e2d96eab9
Author: Jonathan Boeing <jonathan at claws-mail.org>
Date:   Thu May 23 21:24:01 2024 -0700

    Fix building on Windows

diff --git a/src/compose.c b/src/compose.c
index ca8530ffe..7e9ae673a 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -11062,7 +11062,7 @@ static void entry_paste_clipboard(Compose *compose, GtkWidget *entry,
 			GdkAtom atom = targets[i];
 			gchar *atom_type = gdk_atom_name(atom);
 
-			if (atom_type != NULL && index(atom_type, '/')) {
+			if (atom_type != NULL && strchr(atom_type, '/')) {
 				GtkSelectionData *data = gtk_clipboard_wait_for_contents(
 						clipboard, atom);
 				debug_print("got contents of type %s\n", atom_type);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list