mirror of
https://github.com/fltk/fltk.git
synced 2026-05-31 05:35:29 +08:00
Removed warning about unused variable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5714 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -102,7 +102,7 @@ void fl_scroll(int X, int Y, int W, int H, int dx, int dy,
|
|||||||
if (fl_GetRandomRgn) {
|
if (fl_GetRandomRgn) {
|
||||||
// get the DC region minus all overlapping windows
|
// get the DC region minus all overlapping windows
|
||||||
HRGN sys_rgn = CreateRectRgn(0, 0, 0, 0);
|
HRGN sys_rgn = CreateRectRgn(0, 0, 0, 0);
|
||||||
int nn = fl_GetRandomRgn(fl_gc, sys_rgn, 4);
|
fl_GetRandomRgn(fl_gc, sys_rgn, 4);
|
||||||
// now get the source scrolling rectangle
|
// now get the source scrolling rectangle
|
||||||
HRGN src_rgn = CreateRectRgn(src_x, src_y, src_x+src_w, src_y+src_h);
|
HRGN src_rgn = CreateRectRgn(src_x, src_y, src_x+src_w, src_y+src_h);
|
||||||
POINT offset = { 0, 0 };
|
POINT offset = { 0, 0 };
|
||||||
|
|||||||
Reference in New Issue
Block a user