fixed event handling on (not yet functional) virtual buttons setup screen
authorHolger Schemel <info@artsoft.org>
Tue, 8 May 2018 17:22:13 +0000 (19:22 +0200)
committerHolger Schemel <info@artsoft.org>
Tue, 5 Jun 2018 18:58:41 +0000 (20:58 +0200)
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)
       {