/[gnustep]/gnustep/core/gui/Source/NSBrowser.m
ViewVC logotype

Diff of /gnustep/core/gui/Source/NSBrowser.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.101 by alexm, Wed Aug 20 12:43:52 2003 UTC revision 1.102 by FredKiefer, Mon Sep 29 21:15:37 2003 UTC
# Line 530  static NSTextFieldCell *titleCell; Line 530  static NSTextFieldCell *titleCell;
530         * specified path is already partially selected.  If this is the         * specified path is already partially selected.  If this is the
531         * case, we can avoid redrawing those columns.         * case, we can avoid redrawing those columns.
532         */         */
533        for (i = 0; i <= _lastColumnLoaded && i < numberOfSubStrings; i++)        for (i = 0; i <= _lastColumnLoaded && (unsigned)i < numberOfSubStrings; i++)
534          {          {
535            NSString  *c = [[self selectedCellInColumn: i] stringValue];            NSString  *c = [[self selectedCellInColumn: i] stringValue];
536    
# Line 574  static NSTextFieldCell *titleCell; Line 574  static NSTextFieldCell *titleCell;
574          }          }
575        else        else
576          {          {
577            unsigned numOfRows = [matrix numberOfRows];            int numOfRows = [matrix numberOfRows];
578            int row;            int row;
579    
580            // find the cell in the browser matrix which is equal to aStr            // find the cell in the browser matrix which is equal to aStr
# Line 1710  static NSTextFieldCell *titleCell; Line 1710  static NSTextFieldCell *titleCell;
1710      }      }
1711  }  }
1712    
1713    /** Override from NSControl. Don't do anything to change the size of the
1714        browser.  */
1715    - (void) sizeToFit
1716    {
1717    }
1718    
1719  /*  /*
1720   * Setting the delegate   * Setting the delegate
1721   */   */

Legend:
Removed from v.1.101  
changed lines
  Added in v.1.102

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26