mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Draw: Added missing End() call in StdChLookFn
git-svn-id: svn://ultimatepp.org/upp/trunk@5712 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ecc40642c7
commit
d8d862aef4
1 changed files with 3 additions and 1 deletions
|
|
@ -274,8 +274,10 @@ Value StdChLookFn(Draw& w, const Rect& r, const Value& v, int op)
|
|||
ChDraw(w, r.right, p.y, sz2.cx, r.Height(), img,
|
||||
RectC(sr.right, p.y, sz2.cx, sr.Height()));
|
||||
if(op == LOOK_PAINT) {
|
||||
if(IsNull(r) || IsNull(sr))
|
||||
if(IsNull(r) || IsNull(sr)) {
|
||||
w.End();
|
||||
return 1;
|
||||
}
|
||||
if(tile) {
|
||||
LTIMING("Ch-Tiles");
|
||||
LTIMING("Ch-Tiles");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue