while (1) -> while (true)
[dcpomatic.git] / src / wx / film_editor.cc
index de215a0d294298a484f6407715ef7d9bb9b55933..854877ecec86d1e063b982a95dc6fc9222facac6 100644 (file)
@@ -880,7 +880,7 @@ FilmEditor::selected_content ()
 {
        ContentList sel;
        long int s = -1;
-       while (1) {
+       while (true) {
                s = _content->GetNextItem (s, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
                if (s == -1) {
                        break;