Fixed conversion from B_RGB16_BIG to BMP, I had a 1 where I was supposed to have a 0

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1043 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matthew Wilber 2002-09-15 02:48:41 +00:00
parent 5fb6c38b6e
commit dff79725e4

View File

@ -819,7 +819,7 @@ BPositionIO *outDestination, color_space fromspace, MSInfoHeader &msheader)
if (fromspace == B_RGB16)
val = bitspixel[0] + (bitspixel[1] << 8);
else
val = bitspixel[1] + (bitspixel[1] << 8);
val = bitspixel[1] + (bitspixel[0] << 8);
bmppixel[0] =
((val & 0x1f) << 3) | ((val & 0x1f) >> 2);
bmppixel[1] =