OpenJDK / amber / amber
changeset 1976:91e064d8ddb9
6551075: screenshot image taken through clipboard on W2K terminal server is shifted
Reviewed-by: dav, uta
author | bae |
---|---|
date | Tue, 20 Jan 2009 19:51:46 +0300 |
parents | b8dae32335f2 |
children | 3a9980ccb120 |
files | jdk/src/windows/native/sun/windows/awt_DataTransferer.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/src/windows/native/sun/windows/awt_DataTransferer.cpp Tue Jan 13 20:04:05 2009 +0100 +++ b/jdk/src/windows/native/sun/windows/awt_DataTransferer.cpp Tue Jan 20 19:51:46 2009 +0300 @@ -398,7 +398,7 @@ case 4: case 8: nColorEntries = (pSrcBmih->biClrUsed != 0) ? - pSrcBmih->biClrUsed : 1 << (pSrcBmih->biBitCount - 1); + pSrcBmih->biClrUsed : (1 << pSrcBmih->biBitCount); break; case 16: case 24: