Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
Small bugfix for makeglyphfontspecs call in drawregion
[st.git]
/
st.c
diff --git
a/st.c
b/st.c
index
c2da66b
..
73fe291
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-3663,7
+3663,7
@@
drawregion(int x1, int y1, int x2, int y2) {
term.dirty[y] = 0;
specs = term.specbuf;
- numspecs = xmakeglyphfontspecs(specs, &term.line[y][
0
], x2 - x1, x1, y);
+ numspecs = xmakeglyphfontspecs(specs, &term.line[y][
x1
], x2 - x1, x1, y);
i = ox = 0;
for(x = x1; x < x2 && i < numspecs; x++) {