don't double the source line number when on the function's first line

This commit is contained in:
Bill Currie 2004-02-10 01:54:33 +00:00
parent 2b8fc38a2c
commit a371af75ab

View file

@ -373,7 +373,6 @@ PR_Get_Source_Line (progs_t *pr, unsigned int addr)
if (!func || !fname) if (!func || !fname)
return 0; return 0;
line = PR_Get_Lineno_Line (pr, lineno); line = PR_Get_Lineno_Line (pr, lineno);
line += func->source_line;
file = PR_Load_Source_File (pr, fname); file = PR_Load_Source_File (pr, fname);