X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fbuttons.c;h=7c1e9c9a0ee99bf9a1c84d1ffb1a2fddbdf8dad7;hp=5fba665c84fc70e87d9ae1fc865540f6ffbc81f9;hb=41364660abbcb81a83f5018be3655352ecdf1ac9;hpb=0d2143d53f76e2780260996fae2b9f3ce4f29913 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;