fix stringop-truncation
This commit is contained in:
parent
ac7548d9b0
commit
ca84363309
3 changed files with 5 additions and 4 deletions
|
|
@ -593,12 +593,13 @@ int main(int argc, char** argv) {
|
|||
#endif
|
||||
|
||||
char exePath[4096];
|
||||
#ifdef ANDROID
|
||||
memset(exePath,0,4096);
|
||||
#else
|
||||
#ifndef ANDROID
|
||||
if (!getExePath(argv[0],exePath,4095)) memset(exePath,0,4096);
|
||||
#endif
|
||||
|
||||
memset(localeDir,0,4096);
|
||||
|
||||
bool textDomainBound=false;
|
||||
for (int i=0; localeDirs[i]; i++) {
|
||||
#ifdef ANDROID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue