Changed '####' tag generation from 'Preset <>' to 'Subst <>' in order to avoid double entries

SVN revision: 2152
This commit is contained in:
2008-12-08 09:02:24 +00:00
parent f0fee62894
commit 2e2ba94fe9
2 changed files with 35 additions and 36 deletions
+1 -1
View File
@@ -21920,7 +21920,7 @@ void submit_elog(LOGBOOK * lbs)
if (getcfg(lbs->name, str, subst_str, sizeof(subst_str))) {
strsubst_list(subst_str, sizeof(subst_str), slist, svalue, n);
/* check for index substitution */
/* check for index substitution if not in edit mode */
if (!bedit && strchr(subst_str, '#')) {
/* get index */
get_auto_index(lbs, i, subst_str, str, sizeof(str));