diff options
| author | noname@inventati.org <noname@inventati.org> | 2015-04-11 12:47:16 +0200 |
|---|---|---|
| committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2015-04-13 09:20:00 +0200 |
| commit | b9390a54968c3bc4f4270afdcf5b85911df01611 (patch) | |
| tree | 45c7e800736823b014725e831d23009c1ca2845a | |
| parent | Remove unnecessary XFilterEvent call. (diff) | |
| download | st-b9390a54968c3bc4f4270afdcf5b85911df01611.tar.gz st-b9390a54968c3bc4f4270afdcf5b85911df01611.zip | |
Simplify loop condition.
Diffstat (limited to '')
| -rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -944,7 +944,7 @@ getsel(void) { | |||
| 944 | ptr = str = xmalloc(bufsize); | 944 | ptr = str = xmalloc(bufsize); |
| 945 | 945 | ||
| 946 | /* append every set & selected glyph to the selection */ | 946 | /* append every set & selected glyph to the selection */ |
| 947 | for(y = sel.nb.y; y < sel.ne.y + 1; y++) { | 947 | for(y = sel.nb.y; y <= sel.ne.y; y++) { |
| 948 | linelen = tlinelen(y); | 948 | linelen = tlinelen(y); |
| 949 | 949 | ||
| 950 | if(sel.type == SEL_RECTANGULAR) { | 950 | if(sel.type == SEL_RECTANGULAR) { |
