mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-28 11:17:46 +00:00
Fixes duplicate SKIP labels in some scenarios.
This commit is contained in:
parent
fe4575a181
commit
dfb33206b4
1 changed files with 3 additions and 2 deletions
|
@ -14215,11 +14215,12 @@ SUB clearid
|
|||
END SUB
|
||||
|
||||
SUB vWatchTagLabel (this AS LONG, lastLine AS _BYTE)
|
||||
STATIC prevLabel AS LONG
|
||||
STATIC prevLabel AS LONG, prevSkipLabel AS LONG
|
||||
|
||||
IF lastLine THEN
|
||||
IF prevLabel > 0 THEN
|
||||
IF prevLabel > 0 AND prevLabel <> prevSkipLabel THEN
|
||||
PRINT #12, "VWATCH_SKIPLABEL_" + str2$(prevLabel) + ":;"
|
||||
prevSkipLabel = prevLabel
|
||||
END IF
|
||||
ELSE
|
||||
WHILE this > LEN(vWatchUsedLabels)
|
||||
|
|
Loading…
Reference in a new issue