Result = 0;\r
\r
//\r
- // Skip spaces if requested\r
+ // stop at spaces if requested\r
//\r
- while (StopAtSpace && *String == L' ') {\r
- String++;\r
+ if (StopAtSpace && *String == L' ') {\r
+ break;\r
}\r
\r
while (ShellIsHexaDecimalDigitCharacter (*String)) {\r