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:57:27 +0200
commite86822b8b7013f96f3b3d2d86839395492cb1470 (patch)
treeb529bed006ed439d62b115c3d35298b5a949958a
parenta276c1e0af092dac8bc944521d6ea95b83280bc8 (diff)
downloadvte-e86822b8b7013f96f3b3d2d86839395492cb1470.tar.gz
widget: Fix compilation0.72.1
... somehow the last commit was incompletely committer. Fixes: https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/7975 (cherry picked from commit a50cfaa7cb76d7486a45869b948cbcb8239d2fba)
-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... :(