From 54d0eef6f23046376674c95bc7467216dc0d2766 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 14 Jul 2013 19:30:35 +0300 Subject: [PATCH] RECORDER: Fix CID 1046882. Uninitalized variables --- gui/recorderdialog.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gui/recorderdialog.cpp b/gui/recorderdialog.cpp index 55f342d4a1d..e2e73a4845e 100644 --- a/gui/recorderdialog.cpp +++ b/gui/recorderdialog.cpp @@ -52,6 +52,12 @@ enum { }; RecorderDialog::RecorderDialog() : Dialog("RecorderDialog"), _list(0), _currentScreenshot(0) { + _firstScreenshotUpdate = false; + _screenShotsCount = 0; + _currentScreenshotText = 0; + _authorText = 0; + _notesText = 0; + _backgroundType = ThemeEngine::kDialogBackgroundSpecial; new StaticTextWidget(this, "SaveLoadChooser.Title", _("Recorder or Playback Gameplay"));