]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/widgets.cpp
Mention that we are now using SDL2 in the manual and intro screen.
[quix0rs-blobwars.git] / src / widgets.cpp
index f27aafef559445bc4090208dc0a3a80625de33f4..e35594d9f4a0e031b112591b1f73ded1915dd4e0 100644 (file)
@@ -131,7 +131,7 @@ void drawJoypadButtonOption(Widget *widget)
        
        // joysticks have a button 0 so we can't
        // do the same thing as the keyboard(!)
-       if (*widget->value <= -1000)
+       if (*widget->value < -2)
        {
                snprintf(text, sizeof text, "...");
        }