vim: fix an error in the logic for finding message under cursor in show screen

This commit is contained in:
Bart Trojanowski 2009-11-22 00:42:42 -05:00
parent b2830acc04
commit 54a7df40a2

View file

@ -496,7 +496,7 @@ function! s:NM_show_message_id()
let info = b:nm_raw_info let info = b:nm_raw_info
let lnum = line('.') let lnum = line('.')
for msg in info['msgs'] for msg in info['msgs']
if lnum < msg['start'] if lnum >= msg['start']
continue continue
endif endif