C++11 tidying.
[dcpomatic.git] / src / lib / hints.cc
index e431cca7f51ef9dce2ddbb7a8f4d5c67347e9844..e9dcfac346c530bac7bcff51fcb6958cbae1b426 100644 (file)
@@ -125,7 +125,7 @@ Hints::check_incorrect_container ()
        int scope = 0;
        for (auto i: film()->content()) {
                if (i->video) {
-                       Ratio const * r = Ratio::nearest_from_ratio(i->video->scaled_size(film()->frame_size()).ratio());
+                       auto const r = Ratio::nearest_from_ratio(i->video->scaled_size(film()->frame_size()).ratio());
                        if (r && r->id() == "239") {
                                ++scope;
                        } else if (r && r->id() != "239" && r->id() != "235" && r->id() != "190") {
@@ -597,7 +597,7 @@ Hints::check_text_languages ()
                        if (j->use() && !j->language()) {
                                hint (_("At least one piece of subtitle or closed caption content has no specified language.  "
                                        "It is advisable to set the language for each piece of subtitle or closed caption content "
-                                       "in the \"Content→Timed text\", \"Content→Open subtitles\" or \"Content→Closed captions\" tab"));
+                                       "in the \"Content→Timed text\", \"Content→Open subtitles\" or \"Content→Closed captions\" tab."));
                                return;
                        }
                }