JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Removing unneeded arguments to copy(). Thanks to Andrew Hills.
authorChristoph Lohmann <20h@r-36.net>
Wed, 5 Sep 2012 19:52:01 +0000 (21:52 +0200)
committerChristoph Lohmann <20h@r-36.net>
Wed, 5 Sep 2012 19:52:01 +0000 (21:52 +0200)
st.c

diff --git a/st.c b/st.c
index 655d5a3..4e208d4 100644 (file)
--- a/st.c
+++ b/st.c
@@ -2059,7 +2059,7 @@ xdrawcursor(void) {
        } else
                xclear(oldx, oldy, oldx, oldy);
 
-       xcopy(oldx, oldy, 1, 1);
+       xcopy();
 
        /* draw the new one */
        if(!(term.c.state & CURSOR_HIDE)) {
@@ -2074,7 +2074,7 @@ xdrawcursor(void) {
                oldx = term.c.x, oldy = term.c.y;
        }
 
-       xcopy(term.c.x, term.c.y, 1, 1);
+       xcopy();
 }
 
 void