aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llrender/llfontregistry.cpp
diff options
context:
space:
mode:
authorRobin Cornelius2010-10-09 10:20:10 +0100
committerMcCabe Maxsted2010-10-09 02:36:14 -0700
commit0e86bfee3d1dd0e42fef23293242f52793f08583 (patch)
tree2821da61456ca991758aa5bb0482af4ca8afe22f /linden/indra/llrender/llfontregistry.cpp
parentChanged version to Experimental 2010.10.09 (diff)
downloadmeta-impy-0e86bfee3d1dd0e42fef23293242f52793f08583.zip
meta-impy-0e86bfee3d1dd0e42fef23293242f52793f08583.tar.gz
meta-impy-0e86bfee3d1dd0e42fef23293242f52793f08583.tar.bz2
meta-impy-0e86bfee3d1dd0e42fef23293242f52793f08583.tar.xz
Fix some STL errors highlighted by MSVC debug
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;