Fix wrong assignment. CID 702303.

This commit is contained in:
Michael Lotz 2012-07-21 19:27:06 +02:00
parent 5cf20610e1
commit 7050e3cd84

View File

@ -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.
while (state->previous != NULL) {
ParseState* oldState = state->previous;
ParseState* oldState = state;
state = state->previous;
delete oldState;
}