commit 47eb496104ce99a42e299a9e52373c4e2d96eab9
parent 2bb4b53bb904ed8923d286698afae0371bd318a1
Author: Jonathan Boeing <jonathan@claws-mail.org>
Date: Thu, 23 May 2024 21:24:01 -0700
Fix building on Windows
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);