Browse Source

bug fix, .include and .lib files don't have a `title' line

pre-master-46
rlar 13 years ago
parent
commit
9b7a5ab54d
  1. 2
      src/frontend/inpcom.c

2
src/frontend/inpcom.c

@ -782,7 +782,7 @@ inp_readall(FILE *fp, int call_depth, char *dir_name, bool comfile, bool intfile
} }
/* Replace first line with the new title, if available */ /* Replace first line with the new title, if available */
if (new_title != NULL) {
if (call_depth == 0 && new_title) {
tfree(cc->li_line); tfree(cc->li_line);
cc->li_line = new_title; cc->li_line = new_title;
} }

Loading…
Cancel
Save