aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2015-11-06 19:34:25 +0000
committerHarry Jeffery <harry@exec64.co.uk>2015-11-06 20:17:42 +0000
commitdd2a9224238b577a138c77cac6e2c0a36268734d (patch)
tree6bdda7f3e6947bb6cdbff48281514986aa7eb7a8
parentf5231d3e7d93830920b785dca4c770939ff8a138 (diff)
downloadimv-dd2a9224238b577a138c77cac6e2c0a36268734d.tar.gz
Remove scale restriction
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index d93fbfe..8cbea90 100644
--- a/main.c
+++ b/main.c
@@ -68,8 +68,8 @@ void zoom_view(int amount)
g_view.scale += amount * 0.1;
if(g_view.scale > 10)
g_view.scale = 10;
- else if (g_view.scale < 1)
- g_view.scale = 1;
+ else if (g_view.scale < 0.1)
+ g_view.scale = 0.1;
g_view.redraw = 1;
}