X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fbuttons.c;h=7c1e9c9a0ee99bf9a1c84d1ffb1a2fddbdf8dad7;hb=87f550d868b16979b79b0fd8ac81a0215516977a;hp=5fba665c84fc70e87d9ae1fc865540f6ffbc81f9;hpb=cdf554f6229e6eafe2f19519adfe90c74e3449f2;p=rocksndiamonds.git diff --git a/src/buttons.c b/src/buttons.c index 5fba665c..7c1e9c9a 100644 --- a/src/buttons.c +++ b/src/buttons.c @@ -2297,7 +2297,7 @@ void HandleGadgets(int mx, int my, int button) static unsigned long pressed_delay = 0; static int last_button = 0; static int last_mx = 0, last_my = 0; - int scrollbar_mouse_pos; + int scrollbar_mouse_pos = 0; struct GadgetInfo *new_gi, *gi; boolean press_event; boolean release_event;