RichText: Fixed issue in TablePaint

git-svn-id: svn://ultimatepp.org/upp/trunk@10896 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-03-04 08:37:19 +00:00
parent faf8fcc617
commit dd37e11979

View file

@ -60,7 +60,7 @@ bool RichTable::RowPaint(PageDraw& pw, RichContext rc, const Layout& tab, bool h
xpg.right = pi.zoom * pc.right;
if(j) { // need to draw vertical grid line on the left
nxpg.left = xpg.left = xpg.left - ff2ln; // move half of vertical grid width left
if(0) if(py.page == pyy.page)
if(py.page == pyy.page)
pw.Page(py.page).DrawRect(xpg.left, y, gridln, ny - y, gc);
else {
pw.Page(py.page).DrawRect(xpg.left, y, gridln, pg.bottom - y, gc);