fix build.
authorAurélien Aptel <aurelien.aptel@gmail.com>
Tue, 31 Aug 2010 14:56:27 +0000 (16:56 +0200)
committerAurélien Aptel <aurelien.aptel@gmail.com>
Tue, 31 Aug 2010 14:56:27 +0000 (16:56 +0200)
st.c

diff --git a/st.c b/st.c
index 67ba8d5..1474c53 100644 (file)
--- a/st.c
+++ b/st.c
@@ -292,10 +292,10 @@ static void brelease(XEvent *e) {
        if(sel.bx==sel.ex && sel.by==sel.ey) {
                sel.bx = -1;
                if(b==2)
-                       clipboard_paste();
+                       selpaste();
        } else {
                if(b==1)
-                       clipboard_copy(getseltext());
+                       selcopy(getseltext());
        }
        draw(1);
 }