gif size was swapped.

This commit is contained in:
mattn
2011-01-25 09:20:42 +09:00
parent 3ba6851c1a
commit 3ece783f74

View File

@@ -1,7 +1,7 @@
"=============================================================================
" zencoding.vim
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
" Last Change: 14-Jan-2011.
" Last Change: 25-Jan-2011.
let s:save_cpo = &cpo
set cpo&vim
@@ -784,8 +784,8 @@ function! zencoding#imageSize()
endif
if hex =~ '^47494638'
let type = 'gif'
let width = eval('0x'.hex[18:19].hex[16:17])
let height = eval('0x'.hex[14:15].hex[12:13])
let width = eval('0x'.hex[14:15].hex[12:13])
let height = eval('0x'.hex[18:19].hex[16:17])
endif
if width == -1 && height == -1