From: Carl Hetherington Date: Tue, 11 Apr 2023 21:03:36 +0000 (+0200) Subject: Fix some typos in comments. X-Git-Tag: v2.16.56~12 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=87c1ac59d40f611fed94fa4120f9c21ef2baa2d2 Fix some typos in comments. --- diff --git a/src/lib/config.cc b/src/lib/config.cc index 9e13fd62a..6a61aae46 100644 --- a/src/lib/config.cc +++ b/src/lib/config.cc @@ -1292,7 +1292,7 @@ Config::add_to_player_history (boost::filesystem::path p) add_to_history_internal (_player_history, p); } -/** Remove non-existant items from the player history */ +/** Remove non-existent items from the player history */ void Config::clean_player_history () { diff --git a/src/lib/image.cc b/src/lib/image.cc index d84755df3..3aba3ebd5 100644 --- a/src/lib/image.cc +++ b/src/lib/image.cc @@ -328,7 +328,7 @@ Image::convert_pixel_format (dcp::YUVToRGB yuv_to_rgb, AVPixelFormat out_format, /** @param out_size Size to scale to. * @param yuv_to_rgb YUVToRGB transform transform to use, if required. * @param out_format Output pixel format. - * @param out_aligment Output alignment. + * @param out_alignment Output alignment. * @param fast Try to be fast at the possible expense of quality; at present this means using * fast bilinear rather than bicubic scaling. */ diff --git a/test/isdcf_name_test.cc b/test/isdcf_name_test.cc index 3ccfd7d9a..a359e3efa 100644 --- a/test/isdcf_name_test.cc +++ b/test/isdcf_name_test.cc @@ -233,7 +233,7 @@ BOOST_AUTO_TEST_CASE (isdcf_name_test) film->set_audio_language(dcp::LanguageTag("pt-BR")); BOOST_CHECK_EQUAL (film->isdcf_name(false), "LikeShouting_XSN-2_F-133_QBP-fr_US-R_71-HI-VI_4K_DI_20140704_PPF_SMPTE_OV"); - /* Check that nothing is added for non-existant ratings */ + /* Check that nothing is added for non-existent ratings */ film->set_ratings({}); BOOST_CHECK_EQUAL (film->isdcf_name(false), "LikeShouting_XSN-2_F-133_QBP-fr_US_71-HI-VI_4K_DI_20140704_PPF_SMPTE_OV"); }