aboutsummaryrefslogtreecommitdiffstats
path: root/terms.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--terms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/terms.c b/terms.c
index dc00764..50114db 100644
--- a/terms.c
+++ b/terms.c
@@ -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);