summaryrefslogtreecommitdiff
path: root/src/utils/copynpaste.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-25 22:52:54 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-25 23:18:36 +0100
commit01152e00c2099e4f3d2029413718b48d501b153c (patch)
tree3a90bddd4245cb8e160605c260fb6fd9ddc61ddb /src/utils/copynpaste.cpp
parentd1f7e4f5090ac61142415edaa51f2af86aecc188 (diff)
downloadmana-01152e00c2099e4f3d2029413718b48d501b153c.tar.gz
mana-01152e00c2099e4f3d2029413718b48d501b153c.tar.bz2
mana-01152e00c2099e4f3d2029413718b48d501b153c.tar.xz
mana-01152e00c2099e4f3d2029413718b48d501b153c.zip
Fix the X11 paste code to actually return true on success
Reviewed-by: Jared Adams
Diffstat (limited to 'src/utils/copynpaste.cpp')
-rw-r--r--src/utils/copynpaste.cpp2
1 files changed, 2 insertions, 0 deletions
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;