Commit a5f542fb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: extra-safety on thumbnail toolbar

parent 68c863f4
...@@ -239,6 +239,9 @@ bool MainInterface::winEvent ( MSG * msg, long * result ) ...@@ -239,6 +239,9 @@ bool MainInterface::winEvent ( MSG * msg, long * result )
void MainInterface::changeThumbbarButtons( int i_status ) void MainInterface::changeThumbbarButtons( int i_status )
{ {
if( p_taskbl == NULL )
return;
// Define an array of three buttons. These buttons provide images through an // Define an array of three buttons. These buttons provide images through an
// image list and also provide tooltips. // image list and also provide tooltips.
DWORD dwMask = THB_BITMAP | THB_FLAGS; DWORD dwMask = THB_BITMAP | THB_FLAGS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment