diff --git a/indra/llappearance/llwearable.cpp b/indra/llappearance/llwearable.cpp index e6f628436..44e0bdef8 100644 --- a/indra/llappearance/llwearable.cpp +++ b/indra/llappearance/llwearable.cpp @@ -504,7 +504,7 @@ BOOL LLWearable::getNextPopulatedLine(std::istream& input_stream, char* buffer, } while (input_stream.good() && buffer[0]=='\0'); - return input_stream.good(); + return (buffer[0] != '\0'); } @@ -826,4 +826,4 @@ std::string terse_F32_to_string(F32 f) r.erase(0, 1); } return r; -} \ No newline at end of file +}