Ensure that menu.dat.default.po is always considered as a fallback.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6083 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
a5312d7838
commit
62cf0286f5
1 changed files with 2 additions and 0 deletions
|
@ -7528,6 +7528,8 @@ void PR_ProgsAdded(pubprogfuncs_t *prinst, int newprogs, const char *modulename)
|
||||||
h = strchr(lang, '_');
|
h = strchr(lang, '_');
|
||||||
if (h)
|
if (h)
|
||||||
*h = 0;
|
*h = 0;
|
||||||
|
else if (*lang)
|
||||||
|
*lang = 0;
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue