mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-23 20:32:51 +00:00
- let SBARINFO treat 'null' as 'untranslated'. Strictly speaking this wasn't a bug but apparently some people tend to use 'null' as a general placeholder for 'nothing', even where not intended.
This commit is contained in:
parent
5de3d662cb
commit
1d3afce59b
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ class SBarInfoCommand
|
|||
}
|
||||
EColorRange GetTranslation(FScanner &sc)
|
||||
{
|
||||
sc.MustGetToken(TK_Identifier);
|
||||
if (!sc.CheckToken(TK_Null)) sc.MustGetToken(TK_Identifier);
|
||||
EColorRange returnVal = CR_UNTRANSLATED;
|
||||
FString namedTranslation; //we must send in "[translation]"
|
||||
const BYTE *trans_ptr;
|
||||
|
|
Loading…
Reference in a new issue