diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2023-07-30 12:49:13 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2023-07-30 12:49:13 +0000 |
commit | 2ae9f9dc77dec7444449b4b8eed5f4e2fa2195eb (patch) | |
tree | 6e59c8c9b3afa23979aa4d1b4a7c181092092752 /Build/source/texk/web2c/cwebdir/common.w | |
parent | 5ce78faf6628395159a735c7b50c758a4f36ee27 (diff) |
[CWEB] Straighten 'byte_start' arithmetic."
git-svn-id: svn://tug.org/texlive/trunk@67770 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/common.w')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/common.w | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/cwebdir/common.w b/Build/source/texk/web2c/cwebdir/common.w index 593a9efeb85..74133d57e4b 100644 --- a/Build/source/texk/web2c/cwebdir/common.w +++ b/Build/source/texk/web2c/cwebdir/common.w @@ -977,7 +977,7 @@ name_pointer r) /* section name being compared */ *pfirst=first+(ptrdiff_t)(ss-s); return extension; /* null extension */ } else return equal; - else return (q->byte_start==(q+1)->byte_start)? equal: prefix; + else return length(q)==0? equal: prefix; case extension: if (!ispref) return bad_extension; first += ss-s; |