Mercurial > vim
comparison src/mark.c @ 26439:b18f3b0f317c v8.2.3750
patch 8.2.3750: error messages are everywhere
Commit: https://github.com/vim/vim/commit/40bcec1bac34d34a3d4d7c5f6b2cc1f163acbd00
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 5 22:19:27 2021 +0000
patch 8.2.3750: error messages are everywhere
Problem: Error messages are everywhere.
Solution: Move more error messages to errors.h and adjust the names.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 Dec 2021 23:30:05 +0100 |
parents | 902aab6dc499 |
children | 255bc9a08e58 |
comparison
equal
deleted
inserted
replaced
26438:c725b8e17f1f | 26439:b18f3b0f317c |
---|---|
576 int | 576 int |
577 check_mark(pos_T *pos) | 577 check_mark(pos_T *pos) |
578 { | 578 { |
579 if (pos == NULL) | 579 if (pos == NULL) |
580 { | 580 { |
581 emsg(_(e_umark)); | 581 emsg(_(e_unknown_mark)); |
582 return FAIL; | 582 return FAIL; |
583 } | 583 } |
584 if (pos->lnum <= 0) | 584 if (pos->lnum <= 0) |
585 { | 585 { |
586 // lnum is negative if mark is in another file can can't get that | 586 // lnum is negative if mark is in another file can can't get that |