[DEV] update etk null
This commit is contained in:
parent
15713683bd
commit
c4d2581afc
@ -319,7 +319,7 @@ void etranslate::autoDetectLanguage() {
|
|||||||
// dead code ...
|
// dead code ...
|
||||||
#if defined(__TARGET_OS__Linux)
|
#if defined(__TARGET_OS__Linux)
|
||||||
char *s = getenv("LANG");
|
char *s = getenv("LANG");
|
||||||
if (s == nullptr || strlen(s) < 2) {
|
if (s == null || strlen(s) < 2) {
|
||||||
ETRANSLATE_INFO("Try to determine system language FAIL ...");
|
ETRANSLATE_INFO("Try to determine system language FAIL ...");
|
||||||
} else {
|
} else {
|
||||||
etk::String lang;
|
etk::String lang;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user