Commit ff9a2963 authored by Claes Sjofors's avatar Claes Sjofors

Bugfix in help window destructor

parent 12580fa4
...@@ -77,7 +77,8 @@ CoXHelpNavGtk::~CoXHelpNavGtk() ...@@ -77,7 +77,8 @@ CoXHelpNavGtk::~CoXHelpNavGtk()
closing_down = 1; closing_down = 1;
for ( int i = 0; i < brow_cnt; i++) { for ( int i = 0; i < brow_cnt; i++) {
brow_DeleteSecondaryCtx( brow_stack[i]->ctx); if ( i != 0)
brow_DeleteSecondaryCtx( brow_stack[i]->ctx);
brow_stack[i]->free_pixmaps(); brow_stack[i]->free_pixmaps();
delete brow_stack[i]; delete brow_stack[i];
} }
......
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