Cleanup: spelling

This commit is contained in:
Campbell Barton 2021-08-24 12:49:00 +10:00
parent a311ab6167
commit 8371df8b1c
6 changed files with 8 additions and 8 deletions

View File

@ -508,7 +508,7 @@ int blf_font_draw_mono(FontBLF *font, const char *str, const size_t str_len, int
/** \} */
/* -------------------------------------------------------------------- */
/** \name Text Drawgin: Buffer
/** \name Text Drawing: Buffer
* \{ */
/* Sanity checks are done by BLF_draw_buffer() */

View File

@ -79,7 +79,7 @@ static bool zstd_read_seek_table(ZstdReader *zstd)
if (base->seek(base, -5, SEEK_END) < 0 || base->read(base, &flags, 1) != 1) {
return false;
}
/* Bit 7 indicates checksums. Bits 5 and 6 must be zero. */
/* Bit 7 indicates check-sums. Bits 5 and 6 must be zero. */
bool has_checksums = (flags & 0x80);
if (flags & 0x60) {
return false;
@ -134,7 +134,7 @@ static bool zstd_read_seek_table(ZstdReader *zstd)
zstd->seek.compressed_ofs[num_frames] = compressed_ofs;
zstd->seek.uncompressed_ofs[num_frames] = uncompressed_ofs;
/* Seek to the end of the previous frame for the following BHead frame detection. */
/* Seek to the end of the previous frame for the following #BHead frame detection. */
if (seek_frame_start != compressed_ofs || base->seek(base, seek_frame_start, SEEK_SET) < 0) {
MEM_freeN(zstd->seek.compressed_ofs);
MEM_freeN(zstd->seek.uncompressed_ofs);
@ -178,7 +178,7 @@ static const char *zstd_ensure_cache(ZstdReader *zstd, int frame)
return zstd->seek.cached_content;
}
/* Cached frame doesn't match, so discard it and cache the wanted one onstead. */
/* Cached frame doesn't match, so discard it and cache the wanted one instead. */
MEM_SAFE_FREE(zstd->seek.cached_content);
size_t compressed_size = zstd->seek.compressed_ofs[frame + 1] - zstd->seek.compressed_ofs[frame];

View File

@ -229,7 +229,7 @@ void BlurBaseOperation::determineResolution(unsigned int resolution[2],
}
case eExecutionModel::FullFrame: {
/* Setting a modifier ensures all non main inputs have extended bounds as preferred
* resolution, avoiding unnecessary resolution convertions that would hide constant
* resolution, avoiding unnecessary resolution conversions that would hide constant
* operations. */
set_determined_resolution_modifier([=](unsigned int res[2]) {
/* Rounding to even prevents jiggling in backdrop while switching size values. */

View File

@ -201,7 +201,7 @@ void PlaneDistortWarpImageOperation::get_area_of_interest(const int input_idx,
r_input_area.xmax = get_input_operation(0)->getWidth();
r_input_area.ymax = get_input_operation(0)->getHeight();
/* Old implemention but resulting coordinates are way out of input operation bounds and in some
/* Old implementation but resulting coordinates are way out of input operation bounds and in some
* cases the area result may incorrectly cause cropping. */
#if 0
float min[2], max[2];

View File

@ -387,7 +387,7 @@ void ScreenLensDistortionOperation::get_area_of_interest(const int input_idx,
rcti &r_input_area)
{
if (input_idx != 0) {
/* Dispersion and distorsion inputs are used as constants only. */
/* Dispersion and distortion inputs are used as constants only. */
r_input_area = COM_SINGLE_ELEM_AREA;
}

View File

@ -98,7 +98,7 @@ class VariableSizeBokehBlurOperation : public MultiThreadedOperation, public Qua
Span<MemoryBuffer *> inputs) override;
};
/* Currently unused. If ever used, it needs fullframe implementation. */
/* Currently unused. If ever used, it needs full-frame implementation. */
#ifdef COM_DEFOCUS_SEARCH
class InverseSearchRadiusOperation : public NodeOperation {
private: