* fixed a unbalanced retain/release ivar

* Modules/Editors/ProjectCenter/PCEditor.m:
  - changed the -[openFileAtPath:editorManager:editable:] to retain
    the ivar 'textColor'... to balance its retain/release count;
This commit is contained in:
Sergei Golovin 2021-11-29 07:59:31 +04:00
parent c8c3b2fc0e
commit 377359a92f

View file

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