aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);