summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2023-04-13 11:56:32 +0200
committerChristian Persch <chpe@src.gnome.org>2023-04-13 11:56:43 +0200
commita50cfaa7cb76d7486a45869b948cbcb8239d2fba (patch)
treebc87748d213a3c6ea8ae2b74fe967b071976c92c
parent587873b5cd4cedff259d32e37a37f11562f6dc11 (diff)
downloadvte-a50cfaa7cb76d7486a45869b948cbcb8239d2fba.tar.gz
widget: Fix compilation
... somehow the last commit was incompletely committer. Fixes: https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/7975
-rw-r--r--src/clipboard-gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clipboard-gtk.cc b/src/clipboard-gtk.cc
index 17cec015..2105d09d 100644
--- a/src/clipboard-gtk.cc
+++ b/src/clipboard-gtk.cc
@@ -122,7 +122,7 @@ private:
8,
reinterpret_cast<guchar const*>(str->data()),
str->size());
- } else if (type == gdk_atom_intern_static_string(MIME_TYPE_TEXT_HTML_UTF16)) {
+ } else if (target == gdk_atom_intern_static_string(MIME_TYPE_TEXT_HTML_UTF16)) {
auto [html, len] = text_to_utf16_mozilla(*str);
// This makes yet another copy of the data... :(