Merge pull request #30 from svgol/tmp_textColor_unbalanced

the ivar PCEditor->textColor is assigned in the unbalanced manner
This commit is contained in:
Riccardo 2021-11-30 16:49:58 +01:00 committed by GitHub
commit 0d75eae5d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -310,7 +310,7 @@
textBackgroundColor = readOnlyColor;
}
textColor = [prefs colorForKey:EditorForegroundColor defaultValue:textColor];
ASSIGN(textColor, [prefs colorForKey:EditorForegroundColor defaultValue:textColor]);
[attributes setObject:font forKey:NSFontAttributeName];
[attributes setObject:textBackgroundColor forKey:NSBackgroundColorAttributeName];