Merge final fixes from internal repositories

This commit is contained in:
Genode Labs
2011-12-23 14:04:29 +01:00
committed by Christian Helmuth
parent 6ce4e47c1c
commit d1891e8a27
41 changed files with 3076 additions and 279 deletions

View File

@@ -46,8 +46,8 @@ class Canvas
/* check against canvas boundaries */
if (_clip_x1 < 0) _clip_x1 = 0;
if (_clip_y1 < 0) _clip_y1 = 0;
if (_clip_x2 >= _w && w > 0) _clip_x2 = _w - 1;
if (_clip_y2 >= _h && w > 0) _clip_y2 = _h - 1;
if (w > 0 && _clip_x2 > _w - 1) _clip_x2 = _w - 1;
if (h > 0 && _clip_y2 > _h - 1) _clip_y2 = _h - 1;
}
/**