Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-02-13 09:44:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-13 09:44:51 +0300
commitfea335fe8bd01675243953e41f59f156e44f1e94 (patch)
tree7d14301caa35270b4a3077340f4a33814d683d12 /source/blender/editors/interface
parent474947c465d5c78b548669795095663b4970b718 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/view2d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/view2d.c b/source/blender/editors/interface/view2d.c
index 59aee0fde29..e4dad0f1a53 100644
--- a/source/blender/editors/interface/view2d.c
+++ b/source/blender/editors/interface/view2d.c
@@ -616,7 +616,7 @@ static void ui_view2d_curRect_validate_resize(View2D *v2d, bool resize)
if ((width != curwidth) || (height != curheight)) {
float temp, dh;
- /* resize from centerpoint, unless otherwise specified */
+ /* Resize from center-point, unless otherwise specified. */
if (width != curwidth) {
if (v2d->keepofs & V2D_LOCKOFS_X) {
cur->xmax += width - BLI_rctf_size_x(cur);
@@ -1058,7 +1058,7 @@ void UI_view2d_zoom_cache_reset(void)
/* While scaling we can accumulate fonts at many sizes (~20 or so).
* Not an issue with embedded font, but can use over 500Mb with i18n ones! See T38244. */
- /* note: only some views draw text, we could check for this case to avoid clearning cache */
+ /* Note: only some views draw text, we could check for this case to avoid cleaning cache. */
BLF_cache_clear();
}