From: Brian P. Hinz Date: Mon, 5 Sep 2016 13:15:50 +0000 (-0400) Subject: Fix minor typo in framebuffer initialization X-Git-Tag: v1.7.90~84 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5d663058f0f8e156574b4d2076bac54258de7c72;p=tigervnc.git Fix minor typo in framebuffer initialization --- 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); }