summaryrefslogtreecommitdiff
path: root/indra/llcharacter/llbvhloader.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2011-10-27 16:16:57 -0700
committerLeyla Farazha <leyla@lindenlab.com>2011-10-27 16:16:57 -0700
commita09df4f840fc841870da76e904efec51d3e304b4 (patch)
tree12b434f44c4088865d9449a52c1c7648d5adacd4 /indra/llcharacter/llbvhloader.cpp
parent988278d236d789f490eed24a662a6ffe2be6455a (diff)
parentad4ae99c30f1293bf8266c1f53ae62161bcb68bb (diff)
merge
Diffstat (limited to 'indra/llcharacter/llbvhloader.cpp')
-rw-r--r--indra/llcharacter/llbvhloader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llcharacter/llbvhloader.cpp b/indra/llcharacter/llbvhloader.cpp
index c3c7f03247..f3cf950afa 100644
--- a/indra/llcharacter/llbvhloader.cpp
+++ b/indra/llcharacter/llbvhloader.cpp
@@ -219,7 +219,8 @@ ELoadStatus LLBVHLoader::loadTranslationTable(const char *fileName)
//--------------------------------------------------------------------
std::string path = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS,fileName);
- LLAPRFile infile(path, LL_APR_R);
+ LLAPRFile infile ;
+ infile.open(path, LL_APR_R);
apr_file_t *fp = infile.getFileHandle();
if (!fp)
return E_ST_NO_XLT_FILE;