Show GIF (except animation GIF) correctly.
This commit is contained in:
committed by
Tatsuya Kinoshita
parent
4459dbe26e
commit
0c25fd96f7
4
terms.c
4
terms.c
@@ -562,7 +562,7 @@ save_first_animation_frame(const char *path)
|
|||||||
if( body) {
|
if( body) {
|
||||||
/* Graphic Control Extension */
|
/* Graphic Control Extension */
|
||||||
save_gif(new_path->ptr, header, header_size, body, p - 3 - body);
|
save_gif(new_path->ptr, header, header_size, body, p - 3 - body);
|
||||||
break;
|
return new_path;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* skip the first frame. */
|
/* 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);
|
void ttymode_set(int mode, int imode);
|
||||||
|
Reference in New Issue
Block a user