* Source/NSAlert.m (-_initWithoutGModel): Add missing nil

at end of call to -dictionaryWithObjectsAndKeys:



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24685 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Matt Rice 2007-02-22 23:59:45 +00:00
parent be0bcb9ef4
commit 7c77ac64a1
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-02-22 Matt Rice <ratmice@gmail.com>
* Source/NSAlert.m (-_initWithoutGModel): Add missing nil
at end of call to -dictionaryWithObjectsAndKeys:
2007-02-22 Sergii Stoian <stoyan255@gmail.com>
* Source/NSWindow.m: (_lossOfKeyOrMainWindow): Add sanity checks.

View file

@ -408,7 +408,8 @@ setControl(NSView* content, id control, NSString *title)
*/
selectedAttrs = [NSDictionary dictionaryWithObjectsAndKeys:
[NSColor whiteColor],
NSBackgroundColorAttributeName];
NSBackgroundColorAttributeName,
nil];
[(NSTextView *)fieldEditor setSelectedTextAttributes: selectedAttrs];
[messageField setSelectable: YES];
[messageField setBezeled: NO];