Commit 0b3407e4 authored by Russ Cox's avatar Russ Cox

fix bug introduced in 33293

R=r
OCL=34253
CL=34253
parent ee2d5128
......@@ -1316,7 +1316,7 @@ pc2line(uvlong pc)
if(pc<currpc || pc>txtend)
return ~0;
for(c = pcline; c < pclineend && pc <= currpc; c++) {
for(c = pcline; c < pclineend && currpc < pc; c++) {
u = *c;
if(u == 0) {
currline += (c[1]<<24)|(c[2]<<16)|(c[3]<<8)|c[4];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment