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
1 changed files with 0 additions and 2 deletions

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: