1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-05 17:28:47 +00:00

winemenubuilder: Simplify switch cases.

This commit is contained in:
André Hentschel 2010-05-31 19:19:29 +02:00 committed by Alexandre Julliard
parent bbd93e535a
commit d6001be348

View File

@ -505,11 +505,9 @@ static BOOL SaveIconResAsPNG(const BITMAPINFO *pIcon, const char *png_filename,
switch (pIcon->bmiHeader.biBitCount)
{
case 4:
return SavePalettedIconResAsPNG(pIcon, png_filename, commentW);
case 8:
return SavePalettedIconResAsPNG(pIcon, png_filename, commentW);
case 24:
return SaveTrueColorIconResAsPNG(pIcon, png_filename, commentW);
case 32:
return SaveTrueColorIconResAsPNG(pIcon, png_filename, commentW);
default: