mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1208908 - Fix a conditional statement in BytecodeRangeWithPosition::updatePosition(); r=ejpbruel
Found by Viva64.
This commit is contained in:
parent
a1378e0006
commit
c95cb0a607
@ -4895,7 +4895,7 @@ class BytecodeRangeWithPosition : private BytecodeRange
|
||||
ptrdiff_t colspan = SN_OFFSET_TO_COLSPAN(GetSrcNoteOffset(sn, 0));
|
||||
MOZ_ASSERT(ptrdiff_t(column) + colspan >= 0);
|
||||
column += colspan;
|
||||
} if (type == SRC_SETLINE) {
|
||||
} else if (type == SRC_SETLINE) {
|
||||
lineno = size_t(GetSrcNoteOffset(sn, 0));
|
||||
column = 0;
|
||||
} else if (type == SRC_NEWLINE) {
|
||||
|
Loading…
Reference in New Issue
Block a user