From 82106bb10646675b30a73c5ba5475e84afbae926 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 5 Oct 2019 15:17:08 +0100 Subject: [Minor] Lua_magic: Extend dmg pattern --- lualib/lua_magic/patterns.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lualib') diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua index 5444361a2..c1ea89659 100644 --- a/lualib/lua_magic/patterns.lua +++ b/lualib/lua_magic/patterns.lua @@ -261,8 +261,8 @@ local patterns = { dmg = { matches = { { - string = [[koly]], - position = -512 + 4, + string = [[koly\x{00}\x{00}\x{00}\x{04}]], + position = -512 + 8, weight = 61, tail = 512, }, -- cgit v1.2.3