diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index f591cdc87..da8b04d23 100644 --- a/src/frontend/inpcom.c +++ b/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 */ - if (new_title != NULL) { + if (call_depth == 0 && new_title) { tfree(cc->li_line); cc->li_line = new_title; }