ICU-2840 Check the status. Don't assign it.

X-SVN-Rev: 12341
This commit is contained in:
George Rhoten 2003-06-06 04:58:24 +00:00
parent 4df42a86bb
commit 34a35748f5

View File

@ -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)){