aboutsummaryrefslogtreecommitdiff
path: root/src/label.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/label.c')
-rw-r--r--src/label.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/label.c b/src/label.c
index 78a4793..449f4d0 100644
--- a/src/label.c
+++ b/src/label.c
@@ -550,7 +550,7 @@ void LabelWriteBlob(FILE *fp)
}
-void LabelReadBlob(FILE *fp)
+void LabelReadBlob(FILE *fp, int offset)
{
int count;
int f;
@@ -565,7 +565,7 @@ void LabelReadBlob(FILE *fp)
ReadName(fp, name);
value = ReadNumber(fp);
- LabelSet(name, value, GLOBAL_LABEL);
+ LabelSet(name, value + offset, GLOBAL_LABEL);
}
}