aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/construct/label_end.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/construct/label_end.rs b/src/construct/label_end.rs
index 24ac3a5..3a40cc2 100644
--- a/src/construct/label_end.rs
+++ b/src/construct/label_end.rs
@@ -194,7 +194,7 @@ pub fn resolve_media(tokenizer: &mut Tokenizer) -> Vec<Event> {
edit_map.add(
data_enter_index,
- data_exit_index - data_enter_index,
+ data_exit_index - data_enter_index + 1,
vec![
Event {
event_type: EventType::Enter,