diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-28 09:02:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-28 09:11:18 +0300 |
commit | 7beb57f3bdf5d40aa4a3581367625ac7312b42a8 (patch) | |
tree | a396fdc7ddc100ed3b69812212047d28dfd42c28 /source/blender/editors/interface | |
parent | 6f42e69b58ce4b9a2f0370d22b41f1c76bf21f89 (diff) |
Cleanup: update comments
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_align.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_align.c b/source/blender/editors/interface/interface_align.c index 1f9c736a5f3..dbfdfbf7950 100644 --- a/source/blender/editors/interface/interface_align.c +++ b/source/blender/editors/interface/interface_align.c @@ -590,7 +590,8 @@ static void ui_block_align_calc_but(uiBut *first, short nr) /* rows == 0: 1 row, cols == 0: 1 column */ - /* note; how it uses 'flag' in loop below (either set it, or OR it) is confusing */ + /* NOTE: manipulation of 'flag' in the loop below is confusing. + * In some cases it's assigned, other times OR is used. */ for (but = first, prev = NULL; but && but->alignnr == nr; prev = but, but = but->next) { next = but->next; if (next && next->alignnr != nr) { |