diff --git a/pkg/util/dat2img/wxgf.go b/pkg/util/dat2img/wxgf.go index 743465b..694f9b7 100644 --- a/pkg/util/dat2img/wxgf.go +++ b/pkg/util/dat2img/wxgf.go @@ -80,7 +80,7 @@ func findDataPartition(data []byte) (offset int, size int, err error) { } absIndex := headerLen + offset + index - offset += index + offset += index + 1 if absIndex < 4 { continue