ICU-2840 Check the status. Don't assign it.
X-SVN-Rev: 12341
This commit is contained in:
parent
4df42a86bb
commit
34a35748f5
@ -139,7 +139,7 @@ static void TestBreakIteratorCAPI()
|
||||
|
||||
/* Use french for fun */
|
||||
word = ubrk_open(UBRK_WORD, "en_US", text, u_strlen(text), &status);
|
||||
if(status = U_FILE_ACCESS_ERROR) {
|
||||
if(status == U_FILE_ACCESS_ERROR) {
|
||||
log_data_err("Check your data - it doesn't seem to be around\n");
|
||||
return;
|
||||
} else if(U_FAILURE(status)){
|
||||
|
Loading…
Reference in New Issue
Block a user