From 9850d9c6a2be489a912ff3c98c83eef77198fccc Mon Sep 17 00:00:00 2001
From: Harry Jeffery <harry@exec64.co.uk>
Date: Fri, 23 Aug 2019 23:02:27 +0100
Subject: Fix out of date scaling command defaults

---
 files/imv_config | 2 +-
 src/imv.c        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/files/imv_config b/files/imv_config
index 2c7dc2a..abcdf24 100644
--- a/files/imv_config
+++ b/files/imv_config
@@ -44,7 +44,7 @@ f = fullscreen
 d = overlay
 p = exec echo $imv_current_file
 c = center
-s = scaling_mode next
+s = scaling next
 a = zoom actual
 r = reset
 
diff --git a/src/imv.c b/src/imv.c
index 2a1cf24..6376ee5 100644
--- a/src/imv.c
+++ b/src/imv.c
@@ -576,7 +576,7 @@ struct imv *imv_create(void)
   add_bind(imv, "<minus>", "zoom -1");
   add_bind(imv, "o", "zoom -1");
   add_bind(imv, "c", "center");
-  add_bind(imv, "s", "scaling_mode next");
+  add_bind(imv, "s", "scaling next");
   add_bind(imv, "a", "zoom actual");
   add_bind(imv, "r", "reset");
   add_bind(imv, "<period>", "next_frame");
-- 
cgit v1.2.3