(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
This commit is contained in:
@@ -982,7 +982,7 @@ static void SmallMapWindowProc(Window *w, WindowEvent *e)
|
||||
}
|
||||
break;
|
||||
|
||||
case WE_MOUSELOOP:
|
||||
case WE_TICK:
|
||||
/* update the window every now and then */
|
||||
if ((++w->vscroll.pos & 0x1F) == 0) w->SetDirty();
|
||||
break;
|
||||
|
Reference in New Issue
Block a user