diff options
| author | Oz Linden <oz@lindenlab.com> | 2011-01-28 17:05:11 -0500 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2011-01-28 17:05:11 -0500 |
| commit | b4b3f78c455a614d7738c29cdc6383e857d6028d (patch) | |
| tree | 84e35e9c1b2a05743b6236e9a7bfd14316169d13 /indra/newview/llfeaturemanager.cpp | |
| parent | a9d023a4618e4e425d5d51e750374deebeff3bc0 (diff) | |
| parent | ee2678be57668844221a462ed1e215c3c7cbd841 (diff) | |
pull back fixes from beta
Diffstat (limited to 'indra/newview/llfeaturemanager.cpp')
| -rw-r--r-- | indra/newview/llfeaturemanager.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp index ca2ef5f5b8..4e16cc4217 100644 --- a/indra/newview/llfeaturemanager.cpp +++ b/indra/newview/llfeaturemanager.cpp @@ -290,11 +290,9 @@ BOOL LLFeatureManager::parseFeatureTable(std::string filename) mTableVersion = version; LLFeatureList *flp = NULL; - while (!file.eof() && file.good()) + while (file >> name) { char buffer[MAX_STRING]; /*Flawfinder: ignore*/ - - file >> name; if (name.substr(0,2) == "//") { @@ -303,13 +301,6 @@ BOOL LLFeatureManager::parseFeatureTable(std::string filename) continue; } - if (name.empty()) - { - // This is a blank line - file.getline(buffer, MAX_STRING); - continue; - } - if (name == "list") { if (flp) |
