mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 08:00:51 +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)
|
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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue