diff options
author | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
commit | 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch) | |
tree | bcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/llgenepool.cpp | |
parent | Second Life viewer sources 1.13.3.2 (diff) | |
download | meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2 meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz |
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/llgenepool.cpp')
-rw-r--r-- | linden/indra/newview/llgenepool.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llgenepool.cpp b/linden/indra/newview/llgenepool.cpp index 33cb70d..2a2c864 100644 --- a/linden/indra/newview/llgenepool.cpp +++ b/linden/indra/newview/llgenepool.cpp | |||
@@ -56,10 +56,10 @@ LLGenePool::~LLGenePool() | |||
56 | 56 | ||
57 | BOOL LLGenePool::load() | 57 | BOOL LLGenePool::load() |
58 | { | 58 | { |
59 | char filename[MAX_PATH]; | 59 | char filename[MAX_PATH]; /*Flawfinder: ignore*/ |
60 | |||
61 | strcpy(filename,gDirUtilp->getExpandedFilename(LL_PATH_CHARACTER,"genepool.xml").c_str()); | ||
62 | 60 | ||
61 | strncpy(filename,gDirUtilp->getExpandedFilename(LL_PATH_CHARACTER,"genepool.xml").c_str(), sizeof(filename) -1); /*Flawfinder: ignore*/ | ||
62 | filename[sizeof(filename) -1] = '\0'; | ||
63 | if( mLoaded ) | 63 | if( mLoaded ) |
64 | { | 64 | { |
65 | return TRUE; | 65 | return TRUE; |