fixed event handling on (not yet functional) virtual buttons setup screen
[rocksndiamonds.git] / src / screens.c
index dbac875b04ad6f9c90db1ed19b13029d412079e3..1c1efa62b309d5a0482ec6ca513a6fc8b1baa3d2 100644 (file)
@@ -7211,7 +7211,7 @@ boolean ConfigureVirtualButtonsMain()
   {
     Event event;
 
-    if (NextValidEvent(&event))
+    while (NextValidEvent(&event))
     {
       switch (event.type)
       {