From 8f7f575a501d57404c6e0f5fc3d6b0c9d245bb26 Mon Sep 17 00:00:00 2001 From: butterkeks Date: Tue, 3 Sep 2024 06:04:23 +0200 Subject: [PATCH] Fix target not being bolded properly --- src/frontends/gtk3popup/callbacks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/gtk3popup/callbacks.c b/src/frontends/gtk3popup/callbacks.c index 4bb93d9..9d913fb 100644 --- a/src/frontends/gtk3popup/callbacks.c +++ b/src/frontends/gtk3popup/callbacks.c @@ -37,7 +37,7 @@ static void sentence_selected(GtkClipboard *clipboard, GdkEvent *event, gpointer } AnkiConfig anki_cfg = dp_settings_get_anki_settings(app->settings); - create_ankicard(app->initial_lookup_str, sentence, entry_to_add, anki_cfg); + create_ankicard(app->actual_lookup_str, sentence, entry_to_add, anki_cfg); // TODO: Cleanup free(anki_cfg.fieldmapping.field_content);