]> Sergey Matveev's repositories - st.git/commitdiff
Patching while not really woken up.
authorChristoph Lohmann <20h@r-36.net>
Sat, 13 Apr 2013 06:51:30 +0000 (08:51 +0200)
committerChristoph Lohmann <20h@r-36.net>
Sat, 13 Apr 2013 06:51:30 +0000 (08:51 +0200)
st.c

diff --git a/st.c b/st.c
index b350225db776497b5eff04fc9e78acbaf5d6da9e..23a43c18169c1124b6568d1c45bb078daf261164 100644 (file)
--- a/st.c
+++ b/st.c
@@ -835,10 +835,6 @@ selnotify(XEvent *e) {
                        *repl++ = '\r';
                }
 
-               last = data + nitems * format / 8;
-               repl = data;
-
-
                ttywrite((const char *)data, nitems * format / 8);
                XFree(data);
                /* number of 32-bit chunks returned */