diff options
author | Araki Ken <arakiken@users.sf.net> | 2014-09-27 12:36:12 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2014-12-06 11:47:05 +0000 |
commit | 0c25fd96f7d077e14eac2f8579b7d5c3abfc8f78 (patch) | |
tree | 75c690e30d39581d6eb81a884e6b62ed30fce711 /terms.c | |
parent | img2sixel exits by Ctrl+C. Enable GIF Animation if 'I' is pressed to show it. (diff) | |
download | w3m-0c25fd96f7d077e14eac2f8579b7d5c3abfc8f78.tar.gz w3m-0c25fd96f7d077e14eac2f8579b7d5c3abfc8f78.zip |
Show GIF (except animation GIF) correctly.
Diffstat (limited to '')
-rw-r--r-- | terms.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -562,7 +562,7 @@ save_first_animation_frame(const char *path) if( body) { /* Graphic Control Extension */ save_gif(new_path->ptr, header, header_size, body, p - 3 - body); - break; + return new_path; } else { /* skip the first frame. */ @@ -571,7 +571,7 @@ save_first_animation_frame(const char *path) } } - return new_path; + return NULL; } void ttymode_set(int mode, int imode); |