Skip to content

Commit 83ac6bb

Browse files
AMS21Xottab-DUTY
andauthored
fix: m_opt_backup_value not being initialized in CUICheckButton (#2049)
Co-authored-by: Xottab-DUTY <xottab-duty@yandex.ru>
1 parent a8c0184 commit 83ac6bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrUICore/Buttons/UICheckButton.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class XRUICORE_API CUICheckButton final : public CUI3tButton, public CUIOptionsI
3434
pcstr GetDebugType() override { return "CUICheckButton"; }
3535

3636
private:
37-
bool m_opt_backup_value;
37+
bool m_opt_backup_value{};
3838
void InitTexture2(LPCSTR texture_name);
3939
CUIWindow* m_pDependControl;
4040
};

0 commit comments

Comments
 (0)