]> granicus.if.org Git - php/commitdiff
revert change in the broken file
authorAnatol Belski <ab@php.net>
Wed, 4 Jan 2017 12:01:23 +0000 (13:01 +0100)
committerAnatol Belski <ab@php.net>
Wed, 4 Jan 2017 12:01:23 +0000 (13:01 +0100)
ext/calendar/calendar.c

index cae04314d9fb29bbc13f036d4fb2cde56c5b9cb8..b5d21a4dcdee4c9cb69091f55cdc367110ce55c1 100644 (file)
@@ -2,7 +2,7 @@
    +----------------------------------------------------------------------+
    | PHP Version 7                                                        |
    +----------------------------------------------------------------------+
-   | Copyright (c) 1997-2017 The PHP Group                                |
+   | Copyright (c) 1997-2016 The PHP Group                                |
    +----------------------------------------------------------------------+
    | This source file is subject to version 3.01 of the PHP license,      |
    | that is bundled with this package in the file LICENSE, and is        |
@@ -219,7 +219,7 @@ enum { CAL_MONTH_GREGORIAN_SHORT, CAL_MONTH_GREGORIAN_LONG,
 };
 
 /* for heb_number_to_chars */
-static char alef_bet[25] = "0àáâãäåæçèéëìîðñòôö÷øùú";
+static char alef_bet[25] = "0àáâãäåæçèéëìîðñòôö÷øùú";
 
 #define CAL_JEWISH_ADD_ALAFIM_GERESH 0x2
 #define CAL_JEWISH_ADD_ALAFIM 0x4
@@ -511,7 +511,7 @@ PHP_FUNCTION(juliantojd)
 /* {{{ heb_number_to_chars*/
 /*
 caution: the Hebrew format produces non unique result.
-for example both: year '5' and year '5000' produce 'ä'.
+for example both: year '5' and year '5000' produce 'ä'.
 use the numeric one for calculations. 
  */
 static char *heb_number_to_chars(int n, int fl, char **ret)
@@ -538,7 +538,7 @@ static char *heb_number_to_chars(int n, int fl, char **ret)
                        p++;
                }
                if (CAL_JEWISH_ADD_ALAFIM & fl) {
-                       strcpy(p, " àìôéí ");
+                       strcpy(p, " àìôéí ");
                        p += 7;
                }