[MPlayer-cvslog] r33146 - in trunk: gui/skin/skin.c help/help_mp-bg.h help/help_mp-cs.h help/help_mp-de.h help/help_mp-dk.h help/help_mp-el.h help/help_mp-en.h help/help_mp-es.h help/help_mp-fr.h help/help_mp-hu.h ...
ib
subversion at mplayerhq.hu
Tue Mar 29 14:59:30 CEST 2011
Author: ib
Date: Tue Mar 29 14:59:30 2011
New Revision: 33146
Log:
Remove pointless code and messages.
These errors will never occur because the return codes do not exist
in the called function.
The existing error messages have been revised.
Modified:
trunk/gui/skin/skin.c
Changes in other areas also in this revision:
Modified:
trunk/help/help_mp-bg.h
trunk/help/help_mp-cs.h
trunk/help/help_mp-de.h
trunk/help/help_mp-dk.h
trunk/help/help_mp-el.h
trunk/help/help_mp-en.h
trunk/help/help_mp-es.h
trunk/help/help_mp-fr.h
trunk/help/help_mp-hu.h
trunk/help/help_mp-it.h
trunk/help/help_mp-ja.h
trunk/help/help_mp-ko.h
trunk/help/help_mp-mk.h
trunk/help/help_mp-nb.h
trunk/help/help_mp-nl.h
trunk/help/help_mp-pl.h
trunk/help/help_mp-pt_BR.h
trunk/help/help_mp-ru.h
trunk/help/help_mp-sk.h
trunk/help/help_mp-sv.h
trunk/help/help_mp-tr.h
trunk/help/help_mp-uk.h
trunk/help/help_mp-zh_CN.h
trunk/help/help_mp-zh_TW.h
Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c Tue Mar 29 13:17:01 2011 (r33145)
+++ trunk/gui/skin/skin.c Tue Mar 29 14:59:30 2011 (r33146)
@@ -103,26 +103,10 @@ int skinBPRead(char *fname, txSample *bf
skin_error(MSGTR_SKIN_BITMAP_FileNotFound, fname);
break;
- case -3:
- skin_error(MSGTR_SKIN_BITMAP_BMPReadError, fname);
- break;
-
- case -4:
- skin_error(MSGTR_SKIN_BITMAP_TGAReadError, fname);
- break;
-
case -5:
skin_error(MSGTR_SKIN_BITMAP_PNGReadError, fname);
break;
- case -6:
- skin_error(MSGTR_SKIN_BITMAP_RLENotSupported, fname);
- break;
-
- case -7:
- skin_error(MSGTR_SKIN_BITMAP_UnknownFileType, fname);
- break;
-
case -8:
skin_error(MSGTR_SKIN_BITMAP_ConversionError, fname);
break;
More information about the MPlayer-cvslog
mailing list