Hi,

In NSBrowser: -_getTitleOfColumn we have:

...
      if ([c isLeaf])
        {
          return @"";
        }
      else
        { 
          return [c stringValue];
        }

and it should be:

      if ([c isLeaf] || [c stringValue] == nil)
        {
          return @"";
        }
      else
        { 
          return [c stringValue];
        }

otherwise, we will have an assertion failed (since we'll call
NSCell: -setStringValue: nil) when NSBrowser objects have more than one
empty column.

It fixes the crash we have in NSOpenPanel and NSSavePanel when you
maximise them and they both have empty columns.

Ludo

-- 
Live as if you were to die tomorrow.
Learn as if you were to live forever.
 - Gandhi



_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to