mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
don't double the source line number when on the function's first line
This commit is contained in:
parent
2b8fc38a2c
commit
a371af75ab
1 changed files with 0 additions and 1 deletions
|
@ -373,7 +373,6 @@ PR_Get_Source_Line (progs_t *pr, unsigned int addr)
|
|||
if (!func || !fname)
|
||||
return 0;
|
||||
line = PR_Get_Lineno_Line (pr, lineno);
|
||||
line += func->source_line;
|
||||
|
||||
file = PR_Load_Source_File (pr, fname);
|
||||
|
||||
|
|
Loading…
Reference in a new issue