Really fix the etags TEX parsing
* lib-src/etags.c (TEX_decode_env): Re-fix off-by-one parsing of TEXTAGS environment variable (bug#52438).
This commit is contained in:
parent
bdfd83e42d
commit
194556425f
1 changed files with 3 additions and 3 deletions
|
@ -5782,9 +5782,9 @@ TEX_decode_env (const char *evarname, const char *defenv)
|
|||
else
|
||||
env = concat (env, defenv, "");
|
||||
|
||||
/* If the environment variable starts with a colon, increase the
|
||||
length of the token table. */
|
||||
if (*env == ':')
|
||||
/* If the environment variable doesn't start with a colon, increase
|
||||
the length of the token table. */
|
||||
if (*env != ':')
|
||||
len++;
|
||||
|
||||
/* Allocate a token table */
|
||||
|
|
Loading…
Add table
Reference in a new issue