Fix code style.

This commit is contained in:
bootstraponline
2012-07-17 10:55:57 -06:00
parent bb9a9cd0db
commit 78dd5774b3
+2 -2
View File
@@ -113,12 +113,12 @@ module Gollum
tmp_array = folder.split('/')
0.upto(tmp_array.size - 1) do |index|
if cwd_array[index].nil? or changed then
if cwd_array[index].nil? || changed
html += new_sub_folder tmp_array[index]
next
end
if cwd_array[index] != tmp_array[index] then
if cwd_array[index] != tmp_array[index]
changed = true
index.upto(cwd_array.size - 1) do |i|
html += end_folder