]> granicus.if.org Git - php/commitdiff
Nuked EOL from error message
authorfoobar <sniper@php.net>
Thu, 18 Aug 2005 12:56:36 +0000 (12:56 +0000)
committerfoobar <sniper@php.net>
Thu, 18 Aug 2005 12:56:36 +0000 (12:56 +0000)
ext/unicode/locale.c

index 88335e53b26e0abf3ac1619053d617bc74df4cb9..ab0762c3b07fe8a2c0a7bdb2978ec88f01ffb628 100644 (file)
@@ -65,7 +65,7 @@ PHP_FUNCTION(icu_loc_set_default)
         * validation.
         */
        if (U_FAILURE(status)) {
-               php_error(E_WARNING, "Invalid locale: %s\n", locale);
+               php_error(E_WARNING, "Invalid locale: %s", locale);
                RETURN_FALSE;
        }
        /* don't bother if locales are identical */