gcc compilation fix

Originally committed to SVN as r6175.
This commit is contained in:
Thomas Goyne 2011-12-28 01:22:54 +00:00
parent b7cd695cd6
commit c06d72d5be
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ void DialogTranslation::UpdateDisplay() {
} }
void DialogTranslation::Commit(bool next) { void DialogTranslation::Commit(bool next) {
*active_line->Blocks[cur_block] = translated_text->GetValue(); *active_line->Blocks[cur_block] = AssDialogueBlockPlain(translated_text->GetValue());
active_line->UpdateText(); active_line->UpdateText();
c->ass->Commit(_("translation assistant"), AssFile::COMMIT_DIAG_TEXT); c->ass->Commit(_("translation assistant"), AssFile::COMMIT_DIAG_TEXT);