Fix missmatched bracket.

This commit is contained in:
Michael Drake 2014-12-04 12:18:36 +00:00
parent 4af70cd1ac
commit 60877b6ff5

View File

@ -4712,7 +4712,7 @@ static void gui_window_set_scroll(struct gui_window *g, int sx, int sy)
if(sx >= width - bbox->Width)
sx = width - bbox->Width;
if(sy >= height - bbox->Height))
if(sy >= height - bbox->Height)
sy = height - bbox->Height;
if(width <= bbox->Width) sx = 0;