4 Dec
2012
4 Dec
'12
3:55 a.m.
Vincent Povirk <madewokherd(a)gmail.com> wrote:
case 32: - format = PixelFormat32bppRGB; + if (bm.bmBits) + format = PixelFormat32bppPARGB; + else + format = PixelFormat32bppRGB;
Besides the test failure, to my eyes format = bm.bmBits ? PixelFormat32bppPARGB : PixelFormat32bppRGB; looks shorter and clearer. -- Dmitry.