Skip to content
Snippets Groups Projects
Commit 60422c4f authored by Wesley Boynton's avatar Wesley Boynton
Browse files

defaulting to zero when calling out-of-bounds indices on @vis_lbreaks

parent 40500f6d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2648,7 +2648,7 @@ module RbReadline
end
 
def vis_pos(line)
@vis_lbreaks[line]
@vis_lbreaks[line] || 0
end
 
def vis_line(line)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment