mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:33:57 +01:00
Simplify check
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
67d1131bbb
commit
0069ef2860
@ -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 New Issue
Block a user