revent wrong part

This commit is contained in:
Stanislav Malyshev 2009-05-10 20:58:26 +00:00
parent f306943799
commit 06000724e7

View File

@ -173,9 +173,7 @@ UErrorCode intl_error_get_code( intl_error* err TSRMLS_DC )
*/
void intl_error_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC )
{
if(err) {
intl_error_set_code( err, code TSRMLS_CC );
}
intl_error_set_code( err, code TSRMLS_CC );
intl_error_set_custom_msg( err, msg, copyMsg TSRMLS_CC );
}
/* }}} */