From 29fe5ed49c5f794416e070a624939b1d2925076f Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 19 Jul 2009 00:48:23 +0200 Subject: bugfixes, todo --- TODO | 1 + code/directory.rb | 2 +- code/fm.rb | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index f804f48c..4e4f2bd7 100644 --- a/TODO +++ b/TODO @@ -8,6 +8,7 @@ Required for next Release this could flush the text to ranger and result in unwanted actions (X) #14 09/07/18 Sorting sometimes doesn't work ( ) #0 09/07/17 the device is busy even if you're not on the device + ( ) #17 09/07/19 shell behaves strangely sometimes when run with s key Critical Issues diff --git a/code/directory.rb b/code/directory.rb index 6099d891..e7431399 100644 --- a/code/directory.rb +++ b/code/directory.rb @@ -198,7 +198,7 @@ class Directory oldfile = @pointed_file read_dir get_file_info - sort_if_needed + sort if @files.include? oldfile self.pointed_file = oldfile diff --git a/code/fm.rb b/code/fm.rb index 168885d4..84cac712 100644 --- a/code/fm.rb +++ b/code/fm.rb @@ -71,7 +71,7 @@ module Fm def refresh() begin - @pwd.refresh + @pwd.refresh! update_pointers draw rescue @@ -240,7 +240,8 @@ module Fm def update_pointers @path.each_with_index do |p, i| - p.schedule + ## is this line necessary? +# p.schedule unless i == @path.size - 1 p.pointed_file = @path[i+1].path end -- cgit 1.4.1-2-gfad0 log tree commit diff stats
path: root/cpp/054closure_name
blob: b2ea3cc56ecbb9929c36bf3a1dc47112562d5133 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144