diff options
Diffstat (limited to 'lib/efl/elementary.rb')
-rw-r--r-- | lib/efl/elementary.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efl/elementary.rb b/lib/efl/elementary.rb index db6f2ef..29d351e 100644 --- a/lib/efl/elementary.rb +++ b/lib/efl/elementary.rb @@ -45,7 +45,7 @@ module Efl class << self def init *args a = args.select { |e| e.is_a? String } - a.insert 0, __FILE__ if a.length==0 + a << __FILE__ if a.length==0 ptr = FFI::MemoryPointer.new :pointer, a.length a.each_with_index do |s,i| ptr[i].write_pointer FFI::MemoryPointer.from_string(s) |