mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 20:06:18 +08:00
Indentation fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10772 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+5
-5
@@ -217,11 +217,11 @@ void Fl_Xlib_Graphics_Driver::draw(Fl_Pixmap *pxm, int XP, int YP, int WP, int H
|
|||||||
XIntersectRegion(r, clip_region(), r);
|
XIntersectRegion(r, clip_region(), r);
|
||||||
int X1, Y1, W1, H1;
|
int X1, Y1, W1, H1;
|
||||||
for (int i = 0; i < r->numRects; i++) {
|
for (int i = 0; i < r->numRects; i++) {
|
||||||
X1 = r->rects[i].x1;
|
X1 = r->rects[i].x1;
|
||||||
Y1 = r->rects[i].y1;
|
Y1 = r->rects[i].y1;
|
||||||
W1 = r->rects[i].x2 - r->rects[i].x1;
|
W1 = r->rects[i].x2 - r->rects[i].x1;
|
||||||
H1 = r->rects[i].y2 - r->rects[i].y1;
|
H1 = r->rects[i].y2 - r->rects[i].y1;
|
||||||
copy_offscreen(X1, Y1, W1, H1, pxm->id_, cx + (X1 - X), cy + (Y1 - Y));
|
copy_offscreen(X1, Y1, W1, H1, pxm->id_, cx + (X1 - X), cy + (Y1 - Y));
|
||||||
}
|
}
|
||||||
XDestroyRegion(r);
|
XDestroyRegion(r);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user