mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-17 08:01:24 +00:00
Init could return a different object, take it in account
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31617 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
95eb255d35
commit
099849f7ff
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-11-18 Riccardo Mottola
|
||||
|
||||
* Modules/Editors/ProjectCenter/PCEditor.m
|
||||
Init could return a different object, take it in account.
|
||||
|
||||
2010-11-16 German Arias <german@xelalug.org>
|
||||
* Framework/PCFileManager.m: Allow open .project directories
|
||||
to add files placed at project directory in AddFiles panel.
|
||||
|
|
|
@ -284,8 +284,7 @@
|
|||
[attributes setObject:textBackground forKey:NSBackgroundColorAttributeName];
|
||||
|
||||
text = [NSString stringWithContentsOfFile:_path];
|
||||
[attributedString initWithString:text attributes:attributes];
|
||||
//
|
||||
attributedString = [attributedString initWithString:text attributes:attributes];
|
||||
|
||||
_storage = [[NSTextStorage alloc] init];
|
||||
[_storage setAttributedString:attributedString];
|
||||
|
|
Loading…
Reference in a new issue