summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-05-26 03:12:15 +0200
committerhut <hut@lavabit.com>2010-05-26 03:12:15 +0200
commit1e5adcd713e5c0ed960a924e49958af7aec34759 (patch)
tree20d4e948a8fdc55cf9d7b6f9960c6bce2dc5d466
parentb750ead12053a1be44246b8c9b2f208eee4eab1e (diff)
downloadranger-1e5adcd713e5c0ed960a924e49958af7aec34759.tar.gz
core.actions: shortened some code
-rw-r--r--ranger/core/actions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 7c996895..69fbf32f 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -539,8 +539,8 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 			pos, selected = direction.select(
 					override=narg, lst=cwd.files, current=cwd.pointer,
 					pagesize=self.env.termsize[0], offset=offset)
-			self.env.cwd.pointer = pos
-			self.env.cwd.correct_pointer()
+			cwd.pointer = pos
+			cwd.correct_pointer()
 		self.env.copy = set(selected)
 		self.env.cut = False
 		self.ui.browser.main_column.request_redraw()