diff options
Diffstat (limited to 'indra/newview/llfeaturemanager.cpp')
-rw-r--r-- | indra/newview/llfeaturemanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp index 17e8429616..c24b4c13d9 100644 --- a/indra/newview/llfeaturemanager.cpp +++ b/indra/newview/llfeaturemanager.cpp @@ -225,7 +225,7 @@ BOOL LLFeatureManager::loadFeatureTables() data_path += gDirUtilp->getDirDelimiter(); data_path += FEATURE_TABLE_FILENAME; - + lldebugs << "Looking for feature table in " << data_path << llendl; char name[MAX_STRING+1]; /*Flawfinder: ignore*/ @@ -252,7 +252,7 @@ BOOL LLFeatureManager::loadFeatureTables() mTableVersion = version; LLFeatureList *flp = NULL; - while (!file.eof()) + while (!file.eof() && file.good()) { char buffer[MAX_STRING]; /*Flawfinder: ignore*/ name[0] = 0; |