fix default crtag locale

This commit is contained in:
Enno Rehling 2019-04-08 14:56:44 +02:00
parent 91e40b7061
commit bb3ce32be6
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ struct locale *crtag_locale(void) {
static int config;
if (config_changed(&config)) {
const char *lname = config_get("creport.tags");
lang = get_locale(lname ? lname : "de");
lang = lname ? get_locale(lname) : default_locale;
}
return lang;
}