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