projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sync to trunk (r44371)
[reactos.git]
/
reactos
/
dll
/
win32
/
setupapi
/
parser.c
diff --git
a/reactos/dll/win32/setupapi/parser.c
b/reactos/dll/win32/setupapi/parser.c
index
e1b693d
..
f9ca84b
100644
(file)
--- a/
reactos/dll/win32/setupapi/parser.c
+++ b/
reactos/dll/win32/setupapi/parser.c
@@
-1906,13
+1906,13
@@
BOOL WINAPI SetupGetIntField( PINFCONTEXT context, DWORD index, PINT result )
if (!*buffer) *result = 0;
else
{
if (!*buffer) *result = 0;
else
{
-
res = strtol( buffer, &end, 0 );
+ res = strtol( buffer, &end, 0 );
if (end != buffer && !*end) *result = res;
else
if (end != buffer && !*end) *result = res;
else
-
{
+ {
SetLastError( ERROR_INVALID_DATA );
ret = FALSE;
SetLastError( ERROR_INVALID_DATA );
ret = FALSE;
-
}
+ }
}
done:
}
done: