summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-03-03 13:33:42 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2022-03-03 19:15:28 +0000
commite1695e96b0ecc60327f8cb287517f6009eb8ddc8 (patch)
treeed74222e9c28ced43550bcd78b03f76fcd3e69c9 /src
parent81e55f826dba3b749fd20f3bbd1d42ca42494732 (diff)
downloadlibnsgif-e1695e96b0ecc60327f8cb287517f6009eb8ddc8.tar.gz
libnsgif-e1695e96b0ecc60327f8cb287517f6009eb8ddc8.tar.bz2
API: Single error code for end of data.
Diffstat (limited to 'src')
-rw-r--r--src/gif.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gif.c b/src/gif.c
index d2f6c61..4fdaaac 100644
--- a/src/gif.c
+++ b/src/gif.c
@@ -1761,8 +1761,7 @@ const char *nsgif_strerror(nsgif_error err)
[NSGIF_ERR_BAD_FRAME] = "Requested frame does not exist",
[NSGIF_ERR_DATA_FRAME] = "Invalid frame data",
[NSGIF_ERR_FRAME_COUNT] = "Excessive number of frames",
- [NSGIF_ERR_END_OF_DATA] = "Insufficient data for first frame",
- [NSGIF_ERR_END_OF_FRAME] = "End of data during frame",
+ [NSGIF_ERR_END_OF_DATA] = "Unexpected end of GIF source data",
[NSGIF_ERR_FRAME_DISPLAY] = "Frame can't be displayed",
[NSGIF_ERR_ANIMATION_END] = "Animation complete",
};