fix a bug of dskScrollMainWindow for compositing schema

This commit is contained in:
Vincent Wei
2020-02-13 21:54:58 +08:00
parent 3bbdd9d647
commit 6745220e84
+4 -4
View File
@@ -759,10 +759,10 @@ static int dskScrollMainWindow (PMAINWIN pWin, PSCROLLWINDOWINFO pswi)
pcrc = kernel_GetGCRgnInfo ((HWND)pWin)->crgn.head;
#else
crcOne.next = crcOne.prev = NULL;
crcOne.rc.left = pWin->left;
crcOne.rc.top = pWin->top;
crcOne.rc.right = pWin->right;
crcOne.rc.bottom = pWin->bottom;
crcOne.rc.left = pWin->pMainWin->left;
crcOne.rc.top = pWin->pMainWin->top;
crcOne.rc.right = pWin->pMainWin->right;
crcOne.rc.bottom = pWin->pMainWin->bottom;
pcrc = &crcOne;
#endif
while (pcrc) {