Cleanup: correct spelling in comments

This commit is contained in:
2021-02-05 16:23:34 +11:00
parent b62b923f54
commit 17e1e2bfd8
417 changed files with 833 additions and 823 deletions

View File

@@ -1339,7 +1339,7 @@ void ui_draw_aligned_panel(const uiStyle *style,
{
const Panel *panel = block->panel;
/* Add 0.001f to prevent flicker frpm float inaccuracy. */
/* Add 0.001f to prevent flicker from float inaccuracy. */
const rcti header_rect = {
rect->xmin,
rect->xmax,
@@ -2366,7 +2366,7 @@ static int ui_handle_panel_category_cycling(const wmEvent *event,
PanelCategoryDyn *pc_dyn = UI_panel_category_find(region, category);
if (LIKELY(pc_dyn)) {
if (is_mousewheel) {
/* We can probably get rid of this and only allow ctrl-tabbing. */
/* We can probably get rid of this and only allow Ctrl-Tabbing. */
pc_dyn = (event->type == WHEELDOWNMOUSE) ? pc_dyn->next : pc_dyn->prev;
}
else {