small bug in raceinfo construction

This commit is contained in:
Enno Rehling 2006-01-18 22:48:49 +00:00
parent 3918484f42
commit 81d3e94b6f
1 changed files with 1 additions and 1 deletions

View File

@ -2298,7 +2298,7 @@ display_race(faction *f, unit *u, const race * rc)
size -= rsize;
bufp += rsize;
key = mkname("raceinfo", name);
key = mkname("raceinfo", rc->_name[0]);
info = locale_string(f->locale, key);
if (info==key || strcmp(info, key)==0) {
info = locale_string(f->locale, mkname("raceinfo", "no_info"));