Commit Diff


commit - ae1923d27533ff46400d93765e971558201ca1ee
commit + 89cf0fc597a2bcc16b1516c6f6d750a06175f1c7
blob - c2da66bf7610fa0d6b1b3f57a7e9d1cf901c1bcb
blob + 73fe291bdf8355812ac3f625b0d951247cc6195f
--- st.c
+++ 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++) {