#1332 Do not render image tags with internal viewer

This commit is contained in:
2017-01-03 10:19:33 +01:00
parent b13bd62e5f
commit 86f19ff07b
2 changed files with 13 additions and 5 deletions
@@ -2187,10 +2187,12 @@ public class AVM2Code implements Cloneable {
//Note: changing operands here does not change instruction byte length as offsets are always S24 (not variable length)
}
for (ABCException ex : body.exceptions) {
ex.start = updater.updateOperandOffset(-1, ex.start, ex.start);
ex.end = updater.updateOperandOffset(-1, ex.end, ex.end);
ex.target = updater.updateOperandOffset(-1, ex.target, ex.target);
if (body != null) {
for (ABCException ex : body.exceptions) {
ex.start = updater.updateOperandOffset(-1, ex.start, ex.start);
ex.end = updater.updateOperandOffset(-1, ex.end, ex.end);
ex.target = updater.updateOperandOffset(-1, ex.target, ex.target);
}
}
}