@@ -498,7 +498,7 @@ calcPosition(char *l, Lineprop *pr, int len, int pos, int bpos, int mode)
staticchar*prevl=NULL;
inti,j;
if(l==NULL||len==0)
if(l==NULL||len==0||pos<0)
returnbpos;
if(l==prevl&&mode==CP_AUTO){
if(pos<=len)
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.