fix header guard & typo

This commit is contained in:
idea4good
2019-08-19 16:03:27 +08:00
parent c9bbae7292
commit 7016b1c420
26 changed files with 59 additions and 59 deletions

View File

@@ -406,7 +406,7 @@ int c_surface::set_frame_layer_visible_rect(c_rect& rect, unsigned int z_order)
return 0;
}
int c_surface::flush_scrren(int left, int top, int right, int bottom)
int c_surface::flush_screen(int left, int top, int right, int bottom)
{
if(left < 0 || left >= m_width || right < 0 || right >= m_width ||
top < 0 || top >= m_height || bottom < 0 || bottom >= m_height)