Commit 2f5e0da5 authored by Craig Small's avatar Craig Small

watch: Remove second [m check

With the previous watch fixes, there is no need for the second
[m check as these are covered in previous checks.
parent 0236d278
......@@ -236,8 +236,6 @@ static void process_ansi(FILE * fp)
for (endptr = numstart = buf; *endptr != '\0'; numstart = endptr + 1) {
if (!set_ansi_attribute(strtol(numstart, &endptr, 10)))
break;
if (numstart == endptr)
set_ansi_attribute(0); /* [m treated as [0m */
}
}
......
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