summaryrefslogtreecommitdiff
path: root/ext/calendar
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-01-04 13:01:23 +0100
committerAnatol Belski <ab@php.net>2017-01-04 13:01:23 +0100
commit0439ffa2eaf2c883ca7a3f976b6e17d70c6e19f1 (patch)
treec354e546069d240360dedaac912252027d7a5bba /ext/calendar
parent25ee9465d1c7043f4302329c901fecd38597b634 (diff)
downloadphp-git-0439ffa2eaf2c883ca7a3f976b6e17d70c6e19f1.tar.gz
revert change in the broken file
Diffstat (limited to 'ext/calendar')
-rw-r--r--ext/calendar/calendar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/calendar/calendar.c b/ext/calendar/calendar.c
index cae04314d9..b5d21a4dcd 100644
--- a/ext/calendar/calendar.c
+++ b/ext/calendar/calendar.c
@@ -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;
}