mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
API: Refactor: Fix buffer_get_mark
This commit is contained in:
parent
9815688fbd
commit
f03a7672e1
@ -364,7 +364,7 @@ Position buffer_get_mark(Buffer buffer, String name, Error *err)
|
||||
return rv;
|
||||
}
|
||||
|
||||
if (name.size != 0) {
|
||||
if (name.size != 1) {
|
||||
set_api_error("mark name must be a single character", err);
|
||||
return rv;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user