diff options
author | hut <hut@lavabit.com> | 2009-06-22 00:21:01 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-06-22 00:21:01 +0200 |
commit | 9f55a155d241e102812ea6b5acf60f8f159c9e44 (patch) | |
tree | 385a6ca064acac849c282d5d4e8fadee4c1a5380 | |
parent | 1575c43aa3a2a8e6bba36d65920778ef52e7584d (diff) | |
download | ranger-9f55a155d241e102812ea6b5acf60f8f159c9e44.tar.gz |
changed the place where default flags are specified
-rw-r--r-- | code/action.rb | 2 | ||||
-rw-r--r-- | code/keys.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/code/action.rb b/code/action.rb index 48fd6f42..89ac0355 100644 --- a/code/action.rb +++ b/code/action.rb @@ -27,7 +27,7 @@ module Action rc ||= RunContext.new(Fm.getfiles) assert rc, RunContext - all = rc.all.or true + all = rc.all.or false files = rc.files mode = rc.mode.or 0 diff --git a/code/keys.rb b/code/keys.rb index 1b1d4fd6..ecad2eca 100644 --- a/code/keys.rb +++ b/code/keys.rb @@ -532,7 +532,7 @@ module Fm enter_dir_safely(currentfile.path) else mode = @buffer == 'L' ? 1 : 0 - Action.run(RunContext.new(getfiles, mode)) + Action.run(RunContext.new(getfiles, mode, 'a')) end when /^[ri](\d*)([adetw]*)[ri]$/ |