mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-09-15 10:07:08 +00:00
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();
|
end = str.size();
|
||||||
|
|
||||||
temp = str.substr(start, end - start);
|
temp = str.substr(start, end - start);
|
||||||
|
|
||||||
|
if (found == idx) {
|
||||||
result = atoi(temp.c_str());
|
result = atoi(temp.c_str());
|
||||||
|
}
|
||||||
|
|
||||||
start = str.find_first_of(digits, end + 1);
|
start = str.find_first_of(digits, end + 1);
|
||||||
|
|
||||||
if (start == string::npos)
|
if (start == string::npos)
|
||||||
|
|
Loading…
Reference in a new issue