forked from VimPlug/emmet-vim
gif size was swapped.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user