aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkraxel <kraxel>2004-11-08 23:14:00 +0000
committerkraxel <kraxel>2004-11-08 23:14:00 +0000
commitd5e14109e595c4dc20b44d42bec6ef409fdc873a (patch)
tree28515a1a27823c619a200cdb919bf9c45ba41879
parent94e210debd5ddac0b6ee2b12b4df5d4e2e2b5ed8 (diff)
downloadfbida-d5e14109e595c4dc20b44d42bec6ef409fdc873a.tar.gz
- don't reset zoom factor when loading the next image.
-rw-r--r--fbi.c2
1 files changed, 1 insertions, 1 deletions
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);