mirror of https://gitee.com/cxasm/notepad--.git
perf: Identical inner 'if' condition is always true (outer condition is 'sc.atLineEnd' and inner condition is 'sc.atLineEnd'). ⚡
This commit is contained in:
parent
4442bcb34e
commit
e7e187b125
|
@ -255,10 +255,7 @@ static void ColouriseAU3Doc(Sci_PositionU startPos,
|
|||
if (sc.atLineEnd) {
|
||||
ci=0;
|
||||
if (strcmp(s, "#ce")== 0 || strcmp(s, "#comments-end")== 0) {
|
||||
if (sc.atLineEnd)
|
||||
sc.SetState(SCE_AU3_DEFAULT);
|
||||
else
|
||||
sc.SetState(SCE_AU3_COMMENTBLOCK);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue