Small error fix

develop
Warmist 2012-10-21 13:46:12 +03:00
parent 86ec66c0fb
commit a3f6e9e305
1 changed files with 1 additions and 1 deletions

@ -52,7 +52,7 @@ function BinaryPatch:test()
end end
function BinaryPatch:apply() function BinaryPatch:apply()
if not self:test() then if not self:test() then
error(string.format("pre-data for binary patch does not match expected") error(string.format("pre-data for binary patch does not match expected"))
end end
local post_buf=df.new('uint8_t',#self.pre_data) local post_buf=df.new('uint8_t',#self.pre_data)