winex11: Use the appropriate color_shifts when the target is a bitmap.

This commit is contained in:
Huw Davies 2011-07-20 16:45:22 +01:00 committed by Alexandre Julliard
parent 8679d0b138
commit 3cead4fe1b
1 changed files with 1 additions and 1 deletions

View File

@ -1973,7 +1973,7 @@ update_format:
info->bmiHeader.biPlanes = 1;
info->bmiHeader.biBitCount = format->bits_per_pixel;
if (info->bmiHeader.biHeight > 0) info->bmiHeader.biHeight = -info->bmiHeader.biHeight;
set_color_info( dev, physdev->color_shifts, info );
set_color_info( dev, color_shifts, info );
return ERROR_BAD_FORMAT;
}