Do not crash anymore by looking for help comments in form files when controls are public.
[COMPILER] * BUG: Do not crash anymore by looking for help comments in form files when controls are public.
This commit is contained in:
parent
066f919a04
commit
bc7d0fc7df
1 changed files with 3 additions and 0 deletions
|
@ -110,6 +110,9 @@ void HELP_search_and_print(FILE *file, int line)
|
|||
fprintf(stderr, "HELP_search_and_print: %s: %d\n", FILE_get_name(JOB->name), line);
|
||||
#endif
|
||||
|
||||
if (line >= FORM_FIRST_LINE)
|
||||
return;
|
||||
|
||||
i = line - JOB->help_first_line;
|
||||
|
||||
if (i < 0)
|
||||
|
|
Loading…
Reference in a new issue