diff --git a/src/commands/CmdAnnotate.cpp b/src/commands/CmdAnnotate.cpp index 465f1631..d2d36d37 100644 --- a/src/commands/CmdAnnotate.cpp +++ b/src/commands/CmdAnnotate.cpp @@ -47,7 +47,7 @@ int CmdAnnotate ( flattenDatabase (database, rules); auto intervals = getIntervalsByIds (database, rules, ids); - if (intervals.empty ()) + if (ids.empty ()) { if (database.empty ()) {