]> git.armaanb.net Git - st.git/commit
Small bugfix for makeglyphfontspecs call in drawregion
authorsuigin <suigin@national.shitposting.agency>
Sat, 9 May 2015 22:22:40 +0000 (15:22 -0700)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Tue, 12 May 2015 05:37:13 +0000 (07:37 +0200)
commit89cf0fc597a2bcc16b1516c6f6d750a06175f1c7
treee511caa6825e36de15cac7c290e761c529565f7e
parentae1923d27533ff46400d93765e971558201ca1ee
Small bugfix for makeglyphfontspecs call in drawregion

Here's a patch that fixes a bug when calling `makedrawglyphfontspecs'
in `drawregion'. Wasn't offseting the pointer into the input glyphs
array by `x1'. The bug isn't causing any problems currently, because
`drawregion' is always called with `x1' and `y1' values of 0, but if
this ever changes in the future, the bug would certainly cause some
problems.
st.c