From 5d663058f0f8e156574b4d2076bac54258de7c72 Mon Sep 17 00:00:00 2001 From: "Brian P. Hinz" Date: Mon, 5 Sep 2016 09:15:50 -0400 Subject: Fix minor typo in framebuffer initialization --- common/rfb/CConnection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/rfb/CConnection.cxx b/common/rfb/CConnection.cxx index 7e9fd310..35be9468 100644 --- a/common/rfb/CConnection.cxx +++ b/common/rfb/CConnection.cxx @@ -86,7 +86,7 @@ void CConnection::setFramebuffer(ModifiablePixelBuffer* fb) if (fb->width() > framebuffer->width()) { rect.setXYWH(framebuffer->width(), 0, - fb->width() - fb->width(), + fb->width() - framebuffer->width(), fb->height()); fb->fillRect(rect, black); } -- cgit v1.2.3