summaryrefslogtreecommitdiffstats
path: root/python_modules
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2013-04-09 14:02:09 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2013-04-10 09:53:51 +0200
commit5aa31e753f1a073c3039998a677a6e19a8b2cd45 (patch)
treec41ab70b59f3edf41e3cd0b94ba51ee0e82be5fa /python_modules
parentb52948d7920a24693a79a270b2f60a284dc10ff5 (diff)
downloadspice-common-5aa31e753f1a073c3039998a677a6e19a8b2cd45.tar.gz
spice-common-5aa31e753f1a073c3039998a677a6e19a8b2cd45.tar.xz
spice-common-5aa31e753f1a073c3039998a677a6e19a8b2cd45.zip
supply missing IS_IMAGE_TYPE_* elements for LZ_IMAGE_TYPE_A8
The IS_IMAGE_TYPE_PLT and IS_IMAGE_TYPE_RGB arrays are supposed to decide whether each image type is PLT or RGB. Dependent on the result, one of the PLT_PIXELS_PER_BYTE and RGB_BYTES_PER_PIXEL arrays can be indexed. Commit c0b048eb introduced the LZ_IMAGE_TYPE_A8 enum constant and grew the RGB_BYTES_PER_PIXEL array by one element, but it missed to append a zero to IS_IMAGE_TYPE_PLT, and a one to IS_IMAGE_TYPE_RGB. Do so now. Related RHBZ: 928973. Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'python_modules')
0 files changed, 0 insertions, 0 deletions