From 7f47730a47f62a3b0ed8ceda87b1cd7577b495e8 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 16 Apr 2004 05:45:44 +0000 Subject: [PATCH] ICU-3499 Oops. Last change was a mistake. X-SVN-Rev: 14991 --- icu4c/source/extra/ustdio/uscanf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/icu4c/source/extra/ustdio/uscanf.c b/icu4c/source/extra/ustdio/uscanf.c index 7dc26bc475f..644c538d295 100644 --- a/icu4c/source/extra/ustdio/uscanf.c +++ b/icu4c/source/extra/ustdio/uscanf.c @@ -812,6 +812,9 @@ u_scanf_scanset_handler(UFILE *input, UChar *alias, *limit; + /* fill the input's internal buffer */ + ufile_fill_uchar_buffer(input); + /* Create an empty set */ scanset = uset_open(0, -1); @@ -834,6 +837,7 @@ u_scanf_scanset_handler(UFILE *input, /* verify that the parse was successful */ if (U_SUCCESS(status)) { + c=0; /* grab characters one at a time and make sure they are in the scanset */ while(alias < limit) {