• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscaphegui翻訳comegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

Commit MetaInfo

Revisionb9aa56b79266b618db7b678b936391d7dfcf02ea (tree)
Zeit2008-06-27 15:21:20
Autorikeji <ikeji@f836...>
Commiterikeji

Log Message

fix bug for output of uniq is reverse

git-svn-id: http://dev.ikejima.org/src/svn/pragger/trunk@390 f8368ae4-1e99-dc11-9799-0018f35ab5fa

Ändern Zusammenfassung

Diff

--- a/plugin/Filter/uniq.rb
+++ b/plugin/Filter/uniq.rb
@@ -8,7 +8,7 @@ def uniq(config,data)
88 result[ (i.link rescue i) ] = [ind,i]
99 end
1010 data = []
11- result.values.sort{|a,b| a[0]<=>b[0]}.each do |a|
11+ result.values.sort{|a,b| b[0]<=>a[0]}.each do |a|
1212 data << a[1]
1313 end
1414 return data