diff options
author | Hans Hagen <pragma@wxs.nl> | 2023-04-27 00:04:07 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2023-04-27 00:04:07 +0200 |
commit | 6b25a7a970ba9553adf8077ef2eecb50a5d77818 (patch) | |
tree | f06e40077ba9e55af4bf6cab52313f79f8ea84a8 /source/luametatex/source/tex/texpackaging.c | |
parent | 657457ef4a08c1f000f272e00f654f4064cc37bd (diff) | |
download | context-6b25a7a970ba9553adf8077ef2eecb50a5d77818.tar.gz |
2023-04-26 23:31:00
Diffstat (limited to 'source/luametatex/source/tex/texpackaging.c')
-rw-r--r-- | source/luametatex/source/tex/texpackaging.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/luametatex/source/tex/texpackaging.c b/source/luametatex/source/tex/texpackaging.c index c4af153fc..ad1db455c 100644 --- a/source/luametatex/source/tex/texpackaging.c +++ b/source/luametatex/source/tex/texpackaging.c @@ -1454,7 +1454,7 @@ halfword tex_hpack(halfword p, scaled w, int m, singleword pack_direction, int r tex_current_input_file_name(), &rule ); - if (rule) { + if (rule && rule != r) { tex_aux_append_diagnostic_rule(r, rule); } } @@ -1511,7 +1511,7 @@ halfword tex_hpack(halfword p, scaled w, int m, singleword pack_direction, int r rule = tex_new_rule_node(normal_rule_subtype); rule_width(rule) = overfull_rule_par; } - if (rule) { + if (rule && rule != r) { tex_aux_append_diagnostic_rule(r, rule); } if (callback_id == 0) { @@ -1536,7 +1536,7 @@ halfword tex_hpack(halfword p, scaled w, int m, singleword pack_direction, int r lmt_input_state.input_line, tex_current_input_file_name(), &rule); - if (rule) { + if (rule && rule != r) { tex_aux_append_diagnostic_rule(r, rule); } } else { |