fix stringop-truncation

This commit is contained in:
tildearrow 2024-06-29 17:32:34 -05:00
parent ac7548d9b0
commit ca84363309
3 changed files with 5 additions and 4 deletions

View file

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