diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/device.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/device.cxx b/test/device.cxx index 7557f225a..60450c43d 100644 --- a/test/device.cxx +++ b/test/device.cxx @@ -565,7 +565,7 @@ void copy(Fl_Widget *, void *data) { } rgb_surf = new Fl_Image_Surface(W, H, 1); rgb_surf->set_current(); - fl_color(FL_YELLOW);fl_rectf(0,0,1000,1000); + fl_color(FL_YELLOW);fl_rectf(0,0,W,H); if (decorated) rgb_surf->draw_decorated_window(target->as_window()); else |
