| tRemoving unneeded arguments to copy(). Thanks to Andrew Hills. - st - [fork] c… | |
| git clone git://src.adamsgaard.dk/st | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit 42505c5215c84db192287337922581ba43dec89d | |
| parent 462a966ee2c0f49f432bedaf8e6ebdff995262a9 | |
| Author: Christoph Lohmann <[email protected]> | |
| Date: Wed, 5 Sep 2012 21:52:01 +0200 | |
| Removing unneeded arguments to copy(). Thanks to Andrew Hills. | |
| Diffstat: | |
| M st.c | 4 ++-- | |
| 1 file changed, 2 insertions(+), 2 deletions(-) | |
| --- | |
| diff --git a/st.c b/st.c | |
| t@@ -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)) { | |
| t@@ -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 |