SDL: Fixed a crash with Gradle 2.2.3
This commit is contained in:
@@ -566,6 +566,10 @@ class SDL_Keys
|
||||
try {
|
||||
for(Field f: fields)
|
||||
{
|
||||
if( !f.getName().startsWith("SDLK_") )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
Values.add(f.getInt(null));
|
||||
Names.add(f.getName().substring(5).toUpperCase());
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ import android.content.Intent;
|
||||
|
||||
|
||||
// TODO: too much code here, split into multiple files, possibly auto-generated menus?
|
||||
class Settings
|
||||
public class Settings
|
||||
{
|
||||
static String SettingsFileName = "libsdl-settings.cfg";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user