mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +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)
|
EColorRange GetTranslation(FScanner &sc)
|
||||||
{
|
{
|
||||||
sc.MustGetToken(TK_Identifier);
|
if (!sc.CheckToken(TK_Null)) sc.MustGetToken(TK_Identifier);
|
||||||
EColorRange returnVal = CR_UNTRANSLATED;
|
EColorRange returnVal = CR_UNTRANSLATED;
|
||||||
FString namedTranslation; //we must send in "[translation]"
|
FString namedTranslation; //we must send in "[translation]"
|
||||||
const BYTE *trans_ptr;
|
const BYTE *trans_ptr;
|
||||||
|
|
Loading…
Reference in a new issue