summaryrefslogtreecommitdiff
path: root/src/wx/film_editor.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-01 13:43:41 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-01 13:43:41 +0100
commit6bc83f72f12c8513a1e9e9b6fd880697a73f968f (patch)
tree2b7f8b1456aea84dc088b5638524e908585c7e6e /src/wx/film_editor.cc
parenta6b3b4539ae17ce59f975a4be49278f4ccc736fd (diff)
while (1) -> while (true)
Diffstat (limited to 'src/wx/film_editor.cc')
-rw-r--r--src/wx/film_editor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index de215a0d2..854877ece 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -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;