SDL: Fixed a crash with Gradle 2.2.3

This commit is contained in:
Sergii Pylypenko
2016-12-27 21:30:24 +02:00
parent 8474c6c59e
commit a1089ea20a
4 changed files with 8 additions and 4 deletions

View File

@@ -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());
}

View File

@@ -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";