We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9479653 commit db436e0Copy full SHA for db436e0
2 files changed
input.cpp
@@ -193,7 +193,7 @@ bool controllerClass::get()
193
}
194
195
} else {
196
- GLfloat x; //This is the actual traveling speed of the paddle
+ GLfloat x = 0.0; //This is the actual traveling speed of the paddle
197
if(joystickx > setting.JoyCalHighJitter)
198
{
199
x = joystickRightX * joystickx;
menu.cpp
@@ -912,7 +912,9 @@ vector<struct themeInfo> tI; //Vector of theme info
912
//Find out how many lines we have room for in the box.
913
int nl= (1.26/glText->getHeight(FONT_MENUHIGHSCORE));
914
//If theres room for more than 20, only show 20..
915
- nl > 20 ? nl=20 : nl=nl;
+ if (nl > 20) {
916
+ nl = 20;
917
+ }
918
919
for(int i=0; i < nl; i++)
920
0 commit comments