Skip to content

Commit f9fae13

Browse files
committed
fix typo
1 parent a5717a6 commit f9fae13

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

library/Core.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ distribution.
8080
#include <set>
8181
#include <cstdio>
8282
#include <cstring>
83-
#include <iterator>
8483
#include <sstream>
8584
#include <forward_list>
8685
#include <type_traits>
@@ -810,7 +809,10 @@ command_result Core::runCommand(color_ostream &con, const std::string &first_, s
810809
{
811810
for (const auto& p : parts)
812811
{
813-
if (p.empty() && p[0] == '-')
812+
if (p.empty())
813+
continue;
814+
815+
if (p[0] == '-')
814816
{
815817
if (p.find('a') != std::string::npos)
816818
all = true;

0 commit comments

Comments
 (0)