mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-09 03:54:47 +08:00
gif size was swapped.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" zencoding.vim
|
" zencoding.vim
|
||||||
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
|
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
|
||||||
" Last Change: 14-Jan-2011.
|
" Last Change: 25-Jan-2011.
|
||||||
|
|
||||||
let s:save_cpo = &cpo
|
let s:save_cpo = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
@@ -784,8 +784,8 @@ function! zencoding#imageSize()
|
|||||||
endif
|
endif
|
||||||
if hex =~ '^47494638'
|
if hex =~ '^47494638'
|
||||||
let type = 'gif'
|
let type = 'gif'
|
||||||
let width = eval('0x'.hex[18:19].hex[16:17])
|
let width = eval('0x'.hex[14:15].hex[12:13])
|
||||||
let height = eval('0x'.hex[14:15].hex[12:13])
|
let height = eval('0x'.hex[18:19].hex[16:17])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if width == -1 && height == -1
|
if width == -1 && height == -1
|
||||||
|
|||||||
Reference in New Issue
Block a user