aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Lotz <mmlr@mlotz.ch>2012-07-21 19:27:06 +0200
committerMichael Lotz <mmlr@mlotz.ch>2012-07-21 19:27:06 +0200
commit7050e3cd84cbf0bfdbe4aee9406a9c7240de6e5c (patch)
tree3213e7201aa8258735429339b6b8700a36447693
parent5cf20610e113bcf3bddddf323fdf348ac283c4be (diff)
Fix wrong assignment. CID 702303.hrev44376
-rw-r--r--src/apps/mediaplayer/interface/SubtitleBitmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apps/mediaplayer/interface/SubtitleBitmap.cpp b/src/apps/mediaplayer/interface/SubtitleBitmap.cpp
index 4d9af3998d..839af6896d 100644
--- a/src/apps/mediaplayer/interface/SubtitleBitmap.cpp
+++ b/src/apps/mediaplayer/interface/SubtitleBitmap.cpp
@@ -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;
}