aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llrender/llfontregistry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llrender/llfontregistry.cpp')
-rw-r--r--linden/indra/llrender/llfontregistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llrender/llfontregistry.cpp b/linden/indra/llrender/llfontregistry.cpp
index 2140dbd..9792a91 100644
--- a/linden/indra/llrender/llfontregistry.cpp
+++ b/linden/indra/llrender/llfontregistry.cpp
@@ -107,7 +107,7 @@ bool removeSubString(std::string& str, const std::string& substr)
107 size_t pos = str.find(substr); 107 size_t pos = str.find(substr);
108 if (pos != string::npos) 108 if (pos != string::npos)
109 { 109 {
110 str.replace(pos,substr.length(),(const char *)NULL, 0); 110 str.erase(pos,substr.length());
111 return true; 111 return true;
112 } 112 }
113 return false; 113 return false;