Cleanup: Give SetDirtyBlocks a more descriptive name.

This commit is contained in:
TechGeekNZ
2020-06-08 10:38:06 +12:00
committed by Charles Pigott
parent caab095e4e
commit 8652a4db76
6 changed files with 24 additions and 15 deletions

View File

@@ -774,7 +774,7 @@ void NWidgetBase::SetDirty(const Window *w) const
{
int abs_left = w->left + this->pos_x;
int abs_top = w->top + this->pos_y;
SetDirtyBlocks(abs_left, abs_top, abs_left + this->current_x, abs_top + this->current_y);
AddDirtyBlock(abs_left, abs_top, abs_left + this->current_x, abs_top + this->current_y);
}
/**