Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix filename detection

  • Loading branch information...
commit 0afa4ace8c374161834a912d777089b690c1f572 1 parent c7c7f12
Misty De Meo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mdxplay
2  mdxplay
View
@@ -273,7 +273,7 @@ end
MDXMini.init
-Dir.glob(ARGV).select {|f| f.downcase =~ /.mdx/}.each {|song| MDXMini.process song}
+Dir.glob(ARGV).select {|f| File.extname(f).downcase == '.mdx'}.each {|song| MDXMini.process song}
IO.console.ioflush
puts ANSI.reset
Please sign in to comment.
Something went wrong with that request. Please try again.