aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llurlsimstring.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:29 -0500
committerJacek Antonelli2008-08-15 23:45:29 -0500
commit7bdb4845afdd157f95281293803567090e3f992a (patch)
treefbcada1c227d7407f9f37ccba360bfe6326d9c5e /linden/indra/newview/llurlsimstring.cpp
parentSecond Life viewer sources 1.19.0.0 (diff)
downloadmeta-impy-7bdb4845afdd157f95281293803567090e3f992a.zip
meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.gz
meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.bz2
meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.xz
Second Life viewer sources 1.19.0.2
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llurlsimstring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llurlsimstring.cpp b/linden/indra/newview/llurlsimstring.cpp
index 8113326..5829e73 100644
--- a/linden/indra/newview/llurlsimstring.cpp
+++ b/linden/indra/newview/llurlsimstring.cpp
@@ -75,9 +75,9 @@ void LLURLSimString::setString(const LLString& sim_string)
75// static 75// static
76S32 LLURLSimString::parseGridIdx(const LLString& in_string, S32 idx0, S32* res, S32 max) 76S32 LLURLSimString::parseGridIdx(const LLString& in_string, S32 idx0, S32* res, S32 max)
77{ 77{
78 if (idx0 == INT_MAX || in_string[idx0] != '/') 78 if (idx0 == LLString::npos || in_string[idx0] != '/')
79 { 79 {
80 return INT_MAX; // parse error 80 return LLString::npos; // parse error
81 } 81 }
82 idx0++; 82 idx0++;
83 LLString::size_type idx1 = in_string.find_first_of('/', idx0); 83 LLString::size_type idx1 = in_string.find_first_of('/', idx0);