summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2009-09-08 14:28:31 -0700
committerBryan O'Sullivan <bos@lindenlab.com>2009-09-08 14:28:31 -0700
commit76001ce3f0b53391c674f315855017b78a3a2873 (patch)
treea2c74f15dcf8c611ce87c4cb6c3a5751e9b8d9e3 /indra/llrender
parent40743eaf99c9cbfee08f0bb44bc7c614bc660f34 (diff)
parent2ed83382a1dd84575536c16e248a602ba96755cd (diff)
Merge
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llfontregistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llfontregistry.cpp b/indra/llrender/llfontregistry.cpp
index 99f364a589..45573cd817 100644
--- a/indra/llrender/llfontregistry.cpp
+++ b/indra/llrender/llfontregistry.cpp
@@ -105,7 +105,7 @@ bool removeSubString(std::string& str, const std::string& substr)
size_t pos = str.find(substr);
if (pos != string::npos)
{
- str.erase(pos);
+ str.erase(pos, substr.size());
return true;
}
return false;