Merge branch 'develop' of github.com:ennorehling/eressea into develop

This commit is contained in:
Enno Rehling 2016-09-09 17:45:31 +02:00
commit 43aacd2355
1 changed files with 1 additions and 1 deletions

View File

@ -150,13 +150,13 @@ static char *gamedate2(const struct locale *lang)
gamedate gd; gamedate gd;
const char *week = "a_week", *month = "a_month"; const char *week = "a_week", *month = "a_month";
get_gamedate(turn, &gd);
if (weeknames2) { if (weeknames2) {
week = weeknames2[gd.week]; week = weeknames2[gd.week];
} }
if (monthnames) { if (monthnames) {
month = monthnames[gd.month]; month = monthnames[gd.month];
} }
get_gamedate(turn, &gd);
sprintf(buf, "in %s des Monats %s im Jahre %d %s.", sprintf(buf, "in %s des Monats %s im Jahre %d %s.",
LOC(lang, week), LOC(lang, week),
LOC(lang, month), LOC(lang, month),