Add empty {}'s after while statements to silence warnings (and for safety!

Originally committed to SVN as r3459.
This commit is contained in:
Amar Takhar 2009-09-02 08:26:52 +00:00
parent a16c8ed838
commit 2bd2b7f3a3
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ void SubtitleFormat::ConvertTags(int format,wxString lineEnd) {
current->Text.Replace(_T("\\h"),_T(" "),true); current->Text.Replace(_T("\\h"),_T(" "),true);
current->Text.Replace(_T("\\n"),lineEnd,true); current->Text.Replace(_T("\\n"),lineEnd,true);
current->Text.Replace(_T("\\N"),lineEnd,true); current->Text.Replace(_T("\\N"),lineEnd,true);
while (current->Text.Replace(lineEnd+lineEnd,lineEnd,true)); while (current->Text.Replace(lineEnd+lineEnd,lineEnd,true)) {};
} }
} }
} }