Commit 0069ef28 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Simplify check

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 67d1131b
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment