mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 12:12:35 +03:00
Errorcodes: Remove redundant MNG error.
This commit is contained in:
parent
9fd0e06501
commit
3a0e87e89f
@ -52,7 +52,6 @@ struct message_test_vec_s message_errorcode_test_vec[] = {
|
|||||||
{ NSERROR_SAVE_FAILED, "SaveFailed" },
|
{ NSERROR_SAVE_FAILED, "SaveFailed" },
|
||||||
{ NSERROR_CLONE_FAILED, "CloneFailed" },
|
{ NSERROR_CLONE_FAILED, "CloneFailed" },
|
||||||
{ NSERROR_INIT_FAILED, "InitFailed" },
|
{ NSERROR_INIT_FAILED, "InitFailed" },
|
||||||
{ NSERROR_MNG_ERROR, "Error converting MNG/PNG/JNG: %i" },
|
|
||||||
{ NSERROR_BAD_ENCODING, "BadEncoding" },
|
{ NSERROR_BAD_ENCODING, "BadEncoding" },
|
||||||
{ NSERROR_NEED_DATA, "NeedData" },
|
{ NSERROR_NEED_DATA, "NeedData" },
|
||||||
{ NSERROR_ENCODING_CHANGE, "EncodingChanged" },
|
{ NSERROR_ENCODING_CHANGE, "EncodingChanged" },
|
||||||
|
@ -36,7 +36,6 @@ typedef enum {
|
|||||||
NSERROR_SAVE_FAILED, /**< Failed to save data */
|
NSERROR_SAVE_FAILED, /**< Failed to save data */
|
||||||
NSERROR_CLONE_FAILED, /**< Failed to clone handle */
|
NSERROR_CLONE_FAILED, /**< Failed to clone handle */
|
||||||
NSERROR_INIT_FAILED, /**< Initialisation failed */
|
NSERROR_INIT_FAILED, /**< Initialisation failed */
|
||||||
NSERROR_MNG_ERROR, /**< An MNG error occurred */
|
|
||||||
NSERROR_BMP_ERROR, /**< A BMP error occurred */
|
NSERROR_BMP_ERROR, /**< A BMP error occurred */
|
||||||
NSERROR_GIF_ERROR, /**< A GIF error occurred */
|
NSERROR_GIF_ERROR, /**< A GIF error occurred */
|
||||||
NSERROR_ICO_ERROR, /**< A ICO error occurred */
|
NSERROR_ICO_ERROR, /**< A ICO error occurred */
|
||||||
|
@ -350,10 +350,6 @@ const char *messages_get_errorcode(nserror code)
|
|||||||
/* Initialisation failed */
|
/* Initialisation failed */
|
||||||
return messages_get_ctx("InitFailed", messages_hash);
|
return messages_get_ctx("InitFailed", messages_hash);
|
||||||
|
|
||||||
case NSERROR_MNG_ERROR:
|
|
||||||
/* An MNG error occurred */
|
|
||||||
return messages_get_ctx("MNGError", messages_hash);
|
|
||||||
|
|
||||||
case NSERROR_BAD_ENCODING:
|
case NSERROR_BAD_ENCODING:
|
||||||
/* The character set is unknown */
|
/* The character set is unknown */
|
||||||
return messages_get_ctx("BadEncoding", messages_hash);
|
return messages_get_ctx("BadEncoding", messages_hash);
|
||||||
|
Loading…
Reference in New Issue
Block a user