Issue 208: Reviewer waylonis

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@210 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
ladderbreaker 2007-09-19 20:43:38 +00:00
parent 30dfc3d392
commit 48309a2dbc

View File

@ -67,7 +67,11 @@ unsigned int IntegerValueAtIndex(string &str, unsigned int idx) {
end = str.size();
temp = str.substr(start, end - start);
result = atoi(temp.c_str());
if (found == idx) {
result = atoi(temp.c_str());
}
start = str.find_first_of(digits, end + 1);
if (start == string::npos)