From: Jean-Baptiste Kempf Date: Wed, 7 Sep 2011 23:43:04 +0000 (+0200) Subject: Win32: extra-safety on thumbnail toolbar X-Git-Tag: 1.2.0-pre1~777 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a5f542fbe09d9f847f1c0b159d16f705c018a30b;p=vlc Win32: extra-safety on thumbnail toolbar --- diff --git a/modules/gui/qt4/main_interface_win32.cpp b/modules/gui/qt4/main_interface_win32.cpp index be786ccb6f..2b81907233 100644 --- a/modules/gui/qt4/main_interface_win32.cpp +++ b/modules/gui/qt4/main_interface_win32.cpp @@ -239,6 +239,9 @@ bool MainInterface::winEvent ( MSG * msg, long * result ) void MainInterface::changeThumbbarButtons( int i_status ) { + if( p_taskbl == NULL ) + return; + // Define an array of three buttons. These buttons provide images through an // image list and also provide tooltips. DWORD dwMask = THB_BITMAP | THB_FLAGS;