Removed RCS-style IDs.
[redact.git] / lib / redact / app.rb
index c7266d8c09b4e33e5a810fa84e38b4e09e6325e2..1d51bf74ae531f534c546f3ca250de5911290515 100644 (file)
@@ -1,6 +1,4 @@
 #--
-# $Id: app.rb 43 2005-06-08 17:31:47Z tilman $
-#
 # Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
 #
 # Permission is hereby granted, free of charge, to any person obtaining
@@ -55,7 +53,7 @@ module Redact
                                exit
                        end
 
-                       OPTIONS.output ||= @options.input.sub(/.[^.]+$/, ".edj")
+                       OPTIONS.output ||= OPTIONS.input.sub(/.[^.]+$/, ".edj")
                end
 
                def run
@@ -200,7 +198,7 @@ EOT
 
                def dump_fonts(ef)
                        EDJE.font_dir.each do |entry|
-                               ef.write("fonts/#{entry.filename}",
+                               ef.write("fonts/#{entry.alias}",
                                         File.read(entry.filename))
                        end
                end