Problem: Coverity complains about Null pointer dereference
(after v9.1.1643)
Solution: Check that TabPageIdx is not Null
Signed-off-by: Christian Brabandt <cb@256bit.org>
if (!is_drag) // release, reset got_click
{
got_click = FALSE;
- if (in_tab_line || in_tabpanel
- )
+ if (in_tab_line || in_tabpanel)
{
in_tab_line = FALSE;
in_tabpanel = FALSE;
}
return TRUE;
}
- else if (is_drag && (in_tabpanel || in_tab_line))
+ else if (is_drag && (in_tabpanel || (in_tab_line && TabPageIdxs != NULL))
{
#if defined(FEAT_TABPANEL)
if (in_tabpanel)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1653,
/**/
1652,
/**/