From d5e14109e595c4dc20b44d42bec6ef409fdc873a Mon Sep 17 00:00:00 2001 From: kraxel Date: Mon, 8 Nov 2004 23:14:00 +0000 Subject: - don't reset zoom factor when loading the next image. --- fbi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbi.c b/fbi.c index 687de29..f37660d 100644 --- a/fbi.c +++ b/fbi.c @@ -1229,6 +1229,7 @@ main(int argc, char *argv[]) tty_raw(); desc = NULL; info = NULL; + scale = 1; for (;;) { if (need_read) { need_read = 0; @@ -1240,7 +1241,6 @@ main(int argc, char *argv[]) snprintf(linebuffer,sizeof(linebuffer),"loading %s ...",fcurrent->name); status_update(img,linebuffer, NULL); fimg = read_image(fcurrent->name); - scale = 1; if (fimg) { if (autoup || autodown) { scale = auto_scale(fimg); -- cgit