Skip to content

Commit 56995d1

Browse files
committed
correct fatal typo
1 parent 4e476c9 commit 56995d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/eg/Edit.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public void clearTrailingSpaces(boolean total) {
390390
for (String s : textArr) {
391391
int startOfSpaces = startOfTrailingSpaces(s);
392392
int spacesLength = s.length() - startOfSpaces;
393-
if (spacesLength < 0) {
393+
if (spacesLength > 0) {
394394
edtDoc.removeIgnoreSyntax(startOfSpaces + lineStart, spacesLength);
395395
}
396396
lineStart += startOfSpaces + 1;

0 commit comments

Comments
 (0)