mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
removed c99-ism
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29166 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
425e51363c
commit
f6350f5540
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-12-26 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* Source/NSCell.m: Corrected c99-ism
|
||||
|
||||
2009-12-23 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSTextView.m (-dealloc, -breakUndoCoalescing,
|
||||
|
|
|
@ -2069,6 +2069,8 @@ static NSColor *dtxtCol;
|
|||
|
||||
- (NSText*) setUpFieldEditorAttributes: (NSText*)textObject
|
||||
{
|
||||
NSDictionary *attr;
|
||||
|
||||
// Reset the string to have a well defined state. The real string gets set later on.
|
||||
[textObject setString: @""];
|
||||
|
||||
|
@ -2091,7 +2093,7 @@ static NSColor *dtxtCol;
|
|||
[textObject setRichText: [self allowsEditingTextAttributes]];
|
||||
[textObject setImportsGraphics: [self importsGraphics]];
|
||||
[(NSTextView*)textObject setAllowsUndo: [self allowsUndo]];
|
||||
NSDictionary *attr = [self _nonAutoreleasedTypingAttributes];
|
||||
attr = [self _nonAutoreleasedTypingAttributes];
|
||||
[(NSTextView*)textObject setTypingAttributes: attr];
|
||||
RELEASE(attr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue