mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-10357 only show 'are you missing data' once
X-SVN-Rev: 34197
This commit is contained in:
parent
6b21f7fe67
commit
7a9480becc
1 changed files with 2 additions and 2 deletions
|
@ -890,7 +890,7 @@ void IntlTest::dataerr( const UnicodeString &message )
|
|||
|
||||
void IntlTest::dataerrln( const UnicodeString &message )
|
||||
{
|
||||
IncDataErrorCount();
|
||||
int32_t errCount = IncDataErrorCount();
|
||||
UnicodeString msg;
|
||||
if (!warn_on_missing_data) {
|
||||
IncErrorCount();
|
||||
|
@ -899,7 +899,7 @@ void IntlTest::dataerrln( const UnicodeString &message )
|
|||
msg = UnicodeString("[DATA] " + message);
|
||||
}
|
||||
|
||||
if (!no_err_msg) LL_message( msg + " - (Are you missing data?)", TRUE );
|
||||
if (!no_err_msg && (errCount==1)) LL_message( msg + " - (Are you missing data?)", TRUE );
|
||||
}
|
||||
|
||||
void IntlTest::errcheckln(UErrorCode status, const UnicodeString &message ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue