X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ffilm_editor.cc;h=ee8ee6d389346598f3e013eeb236c816451eedbd;hp=0c70d4b3efc3d12c092dddda5ab72be55e970b58;hb=05654d0e1799746a9df3ccab040c92e0ed825cac;hpb=b63118dafbd7224e9196a40895d9c7cb96504717 diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index 0c70d4b3e..ee8ee6d38 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -876,7 +876,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;