mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-02 09:33:33 +00:00
UI: Add missing NULL check for skipUpdateVer
This commit is contained in:
parent
8fbd61f775
commit
5ebd3ee6d3
|
@ -265,7 +265,8 @@ try {
|
||||||
|
|
||||||
const char *skipUpdateVer = config_get_string(
|
const char *skipUpdateVer = config_get_string(
|
||||||
GetGlobalConfig(), "General", "SkipUpdateVersion");
|
GetGlobalConfig(), "General", "SkipUpdateVersion");
|
||||||
if (!manualUpdate && updateVer == skipUpdateVer && !repairMode)
|
if (!manualUpdate && !repairMode && skipUpdateVer &&
|
||||||
|
updateVer == skipUpdateVer)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* ----------------------------------- *
|
/* ----------------------------------- *
|
||||||
|
|
Loading…
Reference in a new issue