Fixed retrieving Android API level

This commit is contained in:
Roman Kuznetsov 2017-07-24 23:07:48 +03:00 committed by Daria Volvenkova
parent 13523bbaad
commit 17ab69ab1e

View file

@ -205,7 +205,7 @@ int GetAndroidSdkVersion()
return 0;
int version;
if (strings::to_int(std::string(osVersion), version))
if (!strings::to_int(std::string(osVersion), version))
version = 0;
return version;