aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unprotbas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unprotbas.c b/unprotbas.c
index c458e9f..efc1b2f 100644
--- a/unprotbas.c
+++ b/unprotbas.c
@@ -200,7 +200,7 @@ int fixcode(void) {
offset = data[pos + 2];
/* fprintf(stderr, "pos %d, line #%d, offset %d\n", pos, lineno, offset); */
if(offset < 6) {
- if(verbose) fprintf(stderr, "Found invalid offset %d (<6) at line %d, file offset %04x\n", offset, lineno, pos);
+ if(verbose) fprintf(stderr, "Found invalid offset %d (<6) at line %d, file offset %04x\n", offset, lineno, pos + 2);
offset += fixline(pos);
result++;
}