diff options
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index aff4c95f9..c06a508ab 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -4633,7 +4633,11 @@ invalid_range(exarg_T *eap) #ifdef FEAT_QUICKFIX // No error for value that is too big, will use the last entry. if (eap->line2 <= 0) + { + if (eap->addr_count == 0) + return _(e_no_errors); return _(e_invalid_range); + } #endif break; case ADDR_QUICKFIX_VALID: |