Problem: Quickfix: mixup of FALSE and FAIL, returning -1.
Solution: Use FAIL and INVALID_QFIDX. (Yegappan Lakshmanan)
if (!can_abandon(curbuf, forceit))
{
no_write_message();
- retval = FALSE;
+ retval = FAIL;
}
else
retval = do_ecmd(qf_ptr->qf_fnum, NULL, NULL, NULL, (linenr_T)1,
}
if (*abort)
- retval = FALSE;
+ retval = FAIL;
}
return retval;
for (qf_idx = 0; qf_idx < qi->qf_listcount; qf_idx++)
if (qi->qf_lists[qf_idx].qf_id == qfid)
return qf_idx;
- return -1;
+ return INVALID_QFIDX;
}
/*
}
}
- if (qf_idx == -1)
+ if (qf_idx == INVALID_QFIDX)
qf_idx = qi->qf_curlist;
if (qf_idx >= qi->qf_listcount
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1772,
/**/
1771,
/**/