summaryrefslogtreecommitdiffstats
path: root/src/quickfix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index e6989ae14e..bc82ee027e 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -4533,10 +4533,13 @@ qf_find_buf(qf_info_T *qi)
* Process the 'quickfixtextfunc' option value.
* Returns OK or FAIL.
*/
- int
+ char *
qf_process_qftf_option(void)
{
- return option_set_callback_func(p_qftf, &qftf_cb);
+ if (option_set_callback_func(p_qftf, &qftf_cb) == FAIL)
+ return e_invalid_argument;
+
+ return NULL;
}
/*