Ignore:
Timestamp:
Apr 17, 2011, 10:28:44 AM (10 years ago)
Author:
Sam Hocevar
Message:

lisp: implement LispList::GetLength?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/image.cpp

    r481 r490  
    537537    while (i<=x2)
    538538    {
    539       xl=min(w-xx, x2-i+1);
     539      xl=Min(w-xx, x2-i+1);
    540540
    541541      memcpy(&pg1[i], &pg2[xx], xl);
     
    10231023        {
    10241024          if (x1<p->dx1)
    1025             add_dirty(x1, max(y1, p->dy1), p->dx1-1, min(y2, p->dy2));
     1025            add_dirty(x1, Max(y1, p->dy1), p->dx1-1, Min(y2, p->dy2));
    10261026          if (x2>p->dx2)
    1027             add_dirty(p->dx2+1, max(y1, p->dy1), x2, min(y2, p->dy2));
     1027            add_dirty(p->dx2+1, Max(y1, p->dy1), x2, Min(y2, p->dy2));
    10281028          if (y1<p->dy1)
    10291029            add_dirty(x1, y1, x2, p->dy1-1);
     
    11991199  {
    12001200    special->get_clip(cx1, cy1, cx2, cy2);
    1201     x1=max(x1, cx1); y1=max(cy1, y1); x2=min(x2, cx2); y2=min(y2, cy2);
     1201    x1=Max(x1, cx1); y1=Max(cy1, y1); x2=Min(x2, cx2); y2=Min(y2, cy2);
    12021202  }
    12031203  int16_t xsrc, ysrc, xdst, ydst, xtot=x2-x1-abs(xd)+1, ytot, xt;
Note: See TracChangeset for help on using the changeset viewer.