aboutsummaryrefslogtreecommitdiff
path: root/backends/taskbar
diff options
context:
space:
mode:
authorathrxx2011-06-25 16:56:55 +0200
committerathrxx2011-06-25 16:59:35 +0200
commitb60d864e6b36145ad9880b9a16eb28df792b589f (patch)
tree71620c35b71ef586b369ca36397d372fd0bf2c92 /backends/taskbar
parent08c8d3ca1014a8242b6162b9d3f637ad601bf9ec (diff)
downloadscummvm-rg350-b60d864e6b36145ad9880b9a16eb28df792b589f.tar.gz
scummvm-rg350-b60d864e6b36145ad9880b9a16eb28df792b589f.tar.bz2
scummvm-rg350-b60d864e6b36145ad9880b9a16eb28df792b589f.zip
TASKBAR: initialize _taskBar with NULL in constructor
Diffstat (limited to 'backends/taskbar')
-rw-r--r--backends/taskbar/win32/win32-taskbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/taskbar/win32/win32-taskbar.cpp b/backends/taskbar/win32/win32-taskbar.cpp
index 0cfd81e3f2..7d063f49ba 100644
--- a/backends/taskbar/win32/win32-taskbar.cpp
+++ b/backends/taskbar/win32/win32-taskbar.cpp
@@ -66,7 +66,7 @@
// System.Title property key, values taken from http://msdn.microsoft.com/en-us/library/bb787584.aspx
const PROPERTYKEY PKEY_Title = { /* fmtid = */ { 0xF29F85E0, 0x4FF9, 0x1068, { 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9 } }, /* propID = */ 2 };
-Win32TaskbarManager::Win32TaskbarManager() {
+Win32TaskbarManager::Win32TaskbarManager() : _taskbar(NULL) {
// Do nothing if not running on Windows 7 or later
if (!isWin7OrLater())
return;