From 9db56319d1c4f360a1a5addd3890057b8ca5a016 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Tue, 16 Apr 2019 14:28:33 +0000 Subject: [PATCH] Fix a variable name in r346215. Clearing of the right of the screen was broken, except it worked accidentally in most cases where the virtual screen is larger than the physical screen. --- lib/libvgl/simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libvgl/simple.c b/lib/libvgl/simple.c index 8bca8d71876d..3879ace8576d 100644 --- a/lib/libvgl/simple.c +++ b/lib/libvgl/simple.c @@ -515,7 +515,7 @@ VGLClear(VGLBitmap *object, u_long color) for (i = 0; i < object->VXsize; i++) bcopy(&color, src.Bitmap + i * object->PixelBytes, object->PixelBytes); for (i = 0; i < object->VYsize; i++) - __VGLBitmapCopy(&src, 0, 0, object, 0, i, object->VYsize, 1); + __VGLBitmapCopy(&src, 0, 0, object, 0, i, object->VXsize, 1); break; case VIDBUF8X: