提交 dea25354 编写于 作者: B bae

6551075: screenshot image taken through clipboard on W2K terminal server is shifted

Reviewed-by: dav, uta
上级 0f2fbca0
......@@ -398,7 +398,7 @@ Java_sun_awt_windows_WDataTransferer_platformImageBytesToImageData(
case 4:
case 8:
nColorEntries = (pSrcBmih->biClrUsed != 0) ?
pSrcBmih->biClrUsed : 1 << (pSrcBmih->biBitCount - 1);
pSrcBmih->biClrUsed : (1 << pSrcBmih->biBitCount);
break;
case 16:
case 24:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册