bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBrowser/NS*Panel bug?


From: Michael Hanni
Subject: NSBrowser/NS*Panel bug?
Date: Fri, 7 Sep 2001 17:21:18 -0700 (PDT)

Hi,

With a current CVS pull NSSavePanel/NSOpenPanel crash (try GSTest.app) with an
out of bounds index call. This patch to - (NSMatrix *)matrixInColumn:
(int)column allows the panel to open... This patch feels weird, but several
methods have similar lines:

selectedCell:
  if ((i = [self selectedColumn]) == -1)
    {
      return nil;
    }

selectedCells:
  // Nothing selected
  if ((i = [self selectedColumn]) == -1)
    {
      return nil;
    }

Ideas? Ok to commit?

Michael

=====


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

Attachment: nsbrowser.patch
Description: nsbrowser.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]