Fix compare bug.

This commit is contained in:
Jan Larres 2011-01-17 17:09:55 +13:00
parent dda2103363
commit e5e761b64a

View File

@ -482,7 +482,7 @@ function! s:GetChildTags(tags, pscopetype, pscope, pname, typeinfo)
" Script-local variable needed since compare functions can't
" take extra arguments
let s:compare_typeinfo = typeinfo
let s:compare_typeinfo = a:typeinfo
if g:tagbar_sort
call sort(childtags, 's:CompareByKind')