Fix wrong assignment. CID 702303.
This commit is contained in:
@@ -316,7 +316,7 @@ parse_text(const BString& string, BTextView* textView, const BFont& font,
|
|||||||
|
|
||||||
// Cleanup states in case the input text had non-matching tags.
|
// Cleanup states in case the input text had non-matching tags.
|
||||||
while (state->previous != NULL) {
|
while (state->previous != NULL) {
|
||||||
ParseState* oldState = state->previous;
|
ParseState* oldState = state;
|
||||||
state = state->previous;
|
state = state->previous;
|
||||||
delete oldState;
|
delete oldState;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user