aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkraxel <kraxel>2006-08-25 13:55:52 +0000
committerkraxel <kraxel>2006-08-25 13:55:52 +0000
commitfa5ab4916117a63fc0ec585aca9b6a08a0df9192 (patch)
tree0ded654e701248886d62e74fc96450c84e2db823
parent98180740659f64ece43a613147a4af133881bfff (diff)
downloadfbida-fa5ab4916117a63fc0ec585aca9b6a08a0df9192.tar.gz
2.06, final fix
-rw-r--r--VERSION2
-rw-r--r--fbi.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index fc22f6f..ed30379 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.05
+2.06
diff --git a/fbi.c b/fbi.c
index a991a73..052c5b7 100644
--- a/fbi.c
+++ b/fbi.c
@@ -1552,7 +1552,7 @@ main(int argc, char *argv[])
case KEY_ASCALE:
case KEY_SCALE:
{
- float newscale;
+ float newscale, oldscale = fcurrent->scale;
if (key == KEY_PLUS) {
newscale = fcurrent->scale * 1.6;
@@ -1567,8 +1567,8 @@ main(int argc, char *argv[])
newscale = 0.1;
if (newscale > 10)
newscale = 10;
- scale_fix_top_left(fcurrent, fcurrent->scale, newscale);
flist_img_scale(fcurrent, newscale, 0);
+ scale_fix_top_left(fcurrent, oldscale, newscale);
break;
}
case KEY_GOTO: