From 01152e00c2099e4f3d2029413718b48d501b153c Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Thu, 25 Feb 2010 22:52:54 +0100 Subject: Fix the X11 paste code to actually return true on success Reviewed-by: Jared Adams --- src/utils/copynpaste.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/copynpaste.cpp b/src/utils/copynpaste.cpp index 9292fb0b..31aa7bf9 100644 --- a/src/utils/copynpaste.cpp +++ b/src/utils/copynpaste.cpp @@ -308,6 +308,8 @@ bool RetrieveBuffer(std::string& text, std::string::size_type& pos) text.insert(pos, data); pos += strlen(data); XFree(data); + + return true; } } return false; -- cgit v1.2.3-70-g09d2