diff options
| author | Christoph Lohmann <20h@r-36.net> | 2012-09-05 21:52:01 +0200 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2012-09-05 21:52:01 +0200 |
| commit | 42505c5215c84db192287337922581ba43dec89d (patch) | |
| tree | a5ae4a24addd589293b80ab887ba2c0ce96c7b44 | |
| parent | 462a966ee2c0f49f432bedaf8e6ebdff995262a9 (diff) | |
| download | st-42505c5215c84db192287337922581ba43dec89d.tar.gz st-42505c5215c84db192287337922581ba43dec89d.zip | |
Removing unneeded arguments to copy(). Thanks to Andrew Hills.
| -rw-r--r-- | st.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -2059,7 +2059,7 @@ xdrawcursor(void) { | |||
| 2059 | } else | 2059 | } else |
| 2060 | xclear(oldx, oldy, oldx, oldy); | 2060 | xclear(oldx, oldy, oldx, oldy); |
| 2061 | 2061 | ||
| 2062 | xcopy(oldx, oldy, 1, 1); | 2062 | xcopy(); |
| 2063 | 2063 | ||
| 2064 | /* draw the new one */ | 2064 | /* draw the new one */ |
| 2065 | if(!(term.c.state & CURSOR_HIDE)) { | 2065 | if(!(term.c.state & CURSOR_HIDE)) { |
| @@ -2074,7 +2074,7 @@ xdrawcursor(void) { | |||
| 2074 | oldx = term.c.x, oldy = term.c.y; | 2074 | oldx = term.c.x, oldy = term.c.y; |
| 2075 | } | 2075 | } |
| 2076 | 2076 | ||
| 2077 | xcopy(term.c.x, term.c.y, 1, 1); | 2077 | xcopy(); |
| 2078 | } | 2078 | } |
| 2079 | 2079 | ||
| 2080 | void | 2080 | void |
