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:
parent
30dfc3d392
commit
48309a2dbc
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user