mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-21 18:31:10 +00:00
- fix nullptr dereference
This commit is contained in:
parent
93772c4e0c
commit
0bf634013e
1 changed files with 1 additions and 1 deletions
|
@ -1711,7 +1711,7 @@ void FBaseCVar::ListVars (const char *filter, int listtype)
|
|||
|
||||
bool ismatch;
|
||||
|
||||
if (includedesc)
|
||||
if (filter && includedesc)
|
||||
{
|
||||
// search always allow partial matches
|
||||
// also allow matching to cvar name, localised description, and description language-id
|
||||
|
|
Loading…
Reference in a new issue