Huw Davies : winex11: Move the code that checks for a colortable based dib to a separate function .