introduced a bug when refactoring

This commit is contained in:
Enno Rehling 2016-09-09 17:42:00 +02:00
parent b56d1220b7
commit 781ae306b4
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),