From 4be422335a201db7176adc4e6e379fde01e85254 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Mon, 26 Oct 2009 21:46:50 +0000 Subject: [PATCH] Update #977, this seems to fix the bug (no more crashing, it was some uinitialised iterators) but I'm not sure if the fix should be merged to trunk too. Originally committed to SVN as r3733. --- aegisub/src/dialog_kanji_timer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aegisub/src/dialog_kanji_timer.cpp b/aegisub/src/dialog_kanji_timer.cpp index cf7c04a92..50081b44d 100644 --- a/aegisub/src/dialog_kanji_timer.cpp +++ b/aegisub/src/dialog_kanji_timer.cpp @@ -700,6 +700,8 @@ DialogKanjiTimer::DialogKanjiTimer(wxWindow *parent, SubtitlesGrid *_grid) // Variables subs = AssFile::top; grid = _grid; + currentSourceLine = subs->Line.begin(); + currentDestinationLine = subs->Line.begin(); //Sizers wxSizer *DisplayBoxSizer = new wxStaticBoxSizer(wxVERTICAL,this,_("Text")); @@ -711,7 +713,6 @@ DialogKanjiTimer::DialogKanjiTimer(wxWindow *parent, SubtitlesGrid *_grid) wxSizer *BottomShelfSizer = new wxBoxSizer(wxHORIZONTAL); wxSizer *BottomLeftStackSizer = new wxBoxSizer(wxVERTICAL); - display = new KaraokeLineMatchDisplay(this); //Checkbox