diff options
Diffstat (limited to 'linden/indra/llui/llui.cpp')
-rw-r--r-- | linden/indra/llui/llui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/llui/llui.cpp b/linden/indra/llui/llui.cpp index c62f353..61dede2 100644 --- a/linden/indra/llui/llui.cpp +++ b/linden/indra/llui/llui.cpp | |||
@@ -1497,7 +1497,7 @@ void load_tr(const LLString& lang) | |||
1497 | LLString filename = gDirUtilp->getExpandedFilename(LL_PATH_SKINS, inname.c_str()); | 1497 | LLString filename = gDirUtilp->getExpandedFilename(LL_PATH_SKINS, inname.c_str()); |
1498 | 1498 | ||
1499 | llifstream file; | 1499 | llifstream file; |
1500 | file.open(filename.c_str(), std::ios_base::binary); | 1500 | file.open(filename.c_str(), std::ios_base::binary); /* Flawfinder: ignore */ |
1501 | if (!file) | 1501 | if (!file) |
1502 | { | 1502 | { |
1503 | llinfos << "No translation dictionary for: " << filename << llendl; | 1503 | llinfos << "No translation dictionary for: " << filename << llendl; |
@@ -1510,7 +1510,7 @@ void load_tr(const LLString& lang) | |||
1510 | gUntranslated.clear(); | 1510 | gUntranslated.clear(); |
1511 | 1511 | ||
1512 | const S32 MAX_LINE_LEN = 1024; | 1512 | const S32 MAX_LINE_LEN = 1024; |
1513 | char buffer[MAX_LINE_LEN]; | 1513 | char buffer[MAX_LINE_LEN]; /* Flawfinder: ignore */ |
1514 | while (!file.eof()) | 1514 | while (!file.eof()) |
1515 | { | 1515 | { |
1516 | file.getline(buffer, MAX_LINE_LEN); | 1516 | file.getline(buffer, MAX_LINE_LEN); |
@@ -1550,7 +1550,7 @@ void cleanup_tr() | |||
1550 | LLString outname = "untranslated_" + gLanguage + ".txt"; | 1550 | LLString outname = "untranslated_" + gLanguage + ".txt"; |
1551 | LLString outfilename = gDirUtilp->getExpandedFilename(LL_PATH_SKINS, outname.c_str()); | 1551 | LLString outfilename = gDirUtilp->getExpandedFilename(LL_PATH_SKINS, outname.c_str()); |
1552 | llofstream outfile; | 1552 | llofstream outfile; |
1553 | outfile.open(outfilename.c_str()); | 1553 | outfile.open(outfilename.c_str()); /* Flawfinder: ignore */ |
1554 | if (!outfile) | 1554 | if (!outfile) |
1555 | { | 1555 | { |
1556 | return; | 1556 | return; |