diff options
author | Christian Persch <chpe@src.gnome.org> | 2022-12-20 22:11:56 +0100 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2022-12-20 22:11:56 +0100 |
commit | a36843510ae24b4687840efd4f03afa6bac0bafe (patch) | |
tree | 84edae0236428362f696c8c5ac8650f1123f5128 | |
parent | bdb309bd0470fd5780039e72868e949291cc2791 (diff) | |
download | vte-a36843510ae24b4687840efd4f03afa6bac0bafe.tar.gz |
widget: clipboard: Add missing else
-rw-r--r-- | src/clipboard-gtk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clipboard-gtk.cc b/src/clipboard-gtk.cc index 491a40c7..7f98d364 100644 --- a/src/clipboard-gtk.cc +++ b/src/clipboard-gtk.cc @@ -118,7 +118,7 @@ private: if (type == gdk_atom_intern_static_string(MIME_TYPE_TEXT_HTML_UTF8)) { // This makes yet another copy of the data... :( gtk_selection_data_set_text(data, str->data(), str->size()); - } if (type == gdk_atom_intern_static_string(MIME_TYPE_TEXT_HTML_UTF16)) { + } else if (type == 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... :( |