Changeset 15700 for lang/vim

Show
Ignore:
Timestamp:
07/12/08 18:47:59 (4 months ago)
Author:
ujihisa
Message:

img expand_path

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/vim/ruby/mixi.vim

    r15697 r15700  
    3434    get_image images 
    3535    images[0, 3].each_with_index do |img, i| 
     36      img = File.expand_path img 
    3637      if /darwin/ =~ RUBY_PLATFORM && /\.png$/i =~ img 
    3738        imgjpg = '/tmp/mixi-vim-' << File.basename(img).sub(/\.png$/i, '.jpg')