while (1) -> while (true)
[dcpomatic.git] / src / tools / dcpomatic.cc
index 588fd5c486da54bd037cf2228bcaa05ceac4c448..aeb62a44e5f2cfd2b7cf5c92511fd2bec83b69a8 100644 (file)
@@ -392,7 +392,7 @@ private:
                        );
                
                int r;
-               while (1) {
+               while (true) {
                        r = c->ShowModal ();
                        if (r == wxID_OK && c->GetPath() == wxStandardPaths::Get().GetDocumentsDir()) {
                                error_dialog (this, _("You did not select a folder.  Make sure that you select a folder before clicking Open."));