From 0f7d925121beb1033917918478c7d213305de595 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 9 May 2008 09:29:27 +0000 Subject: (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. --- src/smallmap_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/smallmap_gui.cpp') diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 5ea843f4f..11d9f8435 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -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; -- cgit v1.2.3-54-g00ecf