From 75514014bc7769963d82cb7e8368118b6cbcf654 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 12 Feb 2017 06:20:37 +0100 Subject: [PATCH] no need to create locale here --- src/reports.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reports.c b/src/reports.c index 318660024..f904f5799 100644 --- a/src/reports.c +++ b/src/reports.c @@ -157,7 +157,7 @@ size_t report_status(const unit * u, const struct locale *lang, char *fsbuf, siz if (!status) { const char *lname = locale_name(lang); - struct locale *wloc = get_or_create_locale(lname); + struct locale *wloc = get_locale(lname); log_warning("no translation for combat status %s in %s", combatstatus[u->status], lname); locale_setstring(wloc, combatstatus[u->status], combatstatus[u->status]+7); len = strlcpy(fsbuf, combatstatus[u->status]+7, buflen);