[vte] app: Fix a copypaste error
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] app: Fix a copypaste error
- Date: Mon, 23 Oct 2017 20:02:20 +0000 (UTC)
commit 53c8026834278a1eeed5006dc0bdedb722f22768
Author: Christian Persch <chpe src gnome org>
Date: Mon Oct 23 22:01:38 2017 +0200
app: Fix a copypaste error
src/app/app.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/app/app.cc b/src/app/app.cc
index e2ca3c8..635fe98 100644
--- a/src/app/app.cc
+++ b/src/app/app.cc
@@ -1261,7 +1261,7 @@ vteapp_window_show_context_menu(VteappWindow* window,
auto match = vte_terminal_match_check_event(window->terminal, event, nullptr);
if (match != nullptr) {
verbose_print("Match: %s\n", hyperlink);
- GVariant* target = g_variant_new_string(hyperlink);
+ GVariant* target = g_variant_new_string(match);
auto item = g_menu_item_new("Copy _Match", nullptr);
g_menu_item_set_action_and_target_value(item, "win.copy-match", target);
g_menu_append_item(menu, item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]