[hackers] [st] Removing unneeded arguments to copy(). Thanks to Andrew Hills. || Christoph Lohmann

From: <hg_AT_suckless.org>
Date: Wed, 5 Sep 2012 21:53:55 +0200 (CEST)

changeset: 282:c9b03f356b78
tag: tip
user: Christoph Lohmann <20h_AT_r-36.net>
date: Wed Sep 05 21:52:01 2012 +0200
files: st.c
description:
Removing unneeded arguments to copy(). Thanks to Andrew Hills.


diff -r 5a3d52ec0b8e -r c9b03f356b78 st.c
--- a/st.c Wed Sep 05 21:48:26 2012 +0200
+++ b/st.c Wed Sep 05 21:52:01 2012 +0200
_AT_@ -2059,7 +2059,7 @@
         } else
                 xclear(oldx, oldy, oldx, oldy);
 
- xcopy(oldx, oldy, 1, 1);
+ xcopy();
 
         /* draw the new one */
         if(!(term.c.state & CURSOR_HIDE)) {
_AT_@ -2074,7 +2074,7 @@
                 oldx = term.c.x, oldy = term.c.y;
         }
 
- xcopy(term.c.x, term.c.y, 1, 1);
+ xcopy();
 }
 
 void
Received on Wed Sep 05 2012 - 21:53:55 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 05 2012 - 22:00:08 CEST