mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 09:06:02 +01:00
Simplify check
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
67d1131bbb
commit
0069ef2860
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ cmd_marks_add(girara_session_t* session, girara_list_t* argument_list)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (strlen(key_string) < 1 || strlen(key_string) > 1) {
|
||||
if (strlen(key_string) != 1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue