use sOptions for copyrightYeat in SHP signature

This commit is contained in:
Benjamin Funke 2026-01-21 19:32:20 +01:00
commit 51f8eec393

View file

@ -6,15 +6,13 @@ meta("archive", "Shaped (.SHP)");
function detect() {
if (Binary.compare("'Shaped'")) {
var copyrightYear = Binary.getString(28, 4).trim();
if (/^[12]\d{3}$/.test(copyrightYear)) {
sVersion = copyrightYear;
sOptions = copyrightYear;
bDetected = true;
}
}
return result();
}
}