mirror of https://github.com/odrling/Aegisub
Add empty {}'s after while statements to silence warnings (and for safety!
Originally committed to SVN as r3459.
This commit is contained in:
parent
a16c8ed838
commit
2bd2b7f3a3
|
@ -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)) {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue