mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-2641 Return the right number when scanf returns an error.
X-SVN-Rev: 16152
This commit is contained in:
parent
7dc0bc6c07
commit
2cb0f10a47
1 changed files with 1 additions and 1 deletions
|
@ -1296,7 +1296,7 @@ u_scanf_parse(UFILE *f,
|
|||
|
||||
/* if the handler encountered an error condition, break */
|
||||
if(argConsumed < 0) {
|
||||
converted = -converted;
|
||||
converted = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue