6551075: screenshot image taken through clipboard on W2K terminal server is shifted
Reviewed-by: dav, uta
This commit is contained in:
parent
c0731761a3
commit
3247a31478
@ -398,7 +398,7 @@ Java_sun_awt_windows_WDataTransferer_platformImageBytesToImageData(
|
|||||||
case 4:
|
case 4:
|
||||||
case 8:
|
case 8:
|
||||||
nColorEntries = (pSrcBmih->biClrUsed != 0) ?
|
nColorEntries = (pSrcBmih->biClrUsed != 0) ?
|
||||||
pSrcBmih->biClrUsed : 1 << (pSrcBmih->biBitCount - 1);
|
pSrcBmih->biClrUsed : (1 << pSrcBmih->biBitCount);
|
||||||
break;
|
break;
|
||||||
case 16:
|
case 16:
|
||||||
case 24:
|
case 24:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user