From 3ece783f74d7c6439f002b1acf0269811c2ba799 Mon Sep 17 00:00:00 2001 From: mattn Date: Tue, 25 Jan 2011 09:20:42 +0900 Subject: [PATCH] gif size was swapped. --- autoload/zencoding.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autoload/zencoding.vim b/autoload/zencoding.vim index 9d1c5a1..7d27e1b 100644 --- a/autoload/zencoding.vim +++ b/autoload/zencoding.vim @@ -1,7 +1,7 @@ "============================================================================= " zencoding.vim " Author: Yasuhiro Matsumoto -" 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