Avoid segfaults on solaris machines

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26047 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2008-02-10 03:00:51 +00:00
parent 87874e0737
commit efe1aa64f3
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-02-09 Adam Fedor <fedor@gnu.org>
* GormCore/GormGenericEditor.m ([GormGenericEditor -refreshCells]):
Avoid segfault on solaris machines.
2008-02-09 12:15-EST Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormClassEditor.m

View file

@ -260,7 +260,8 @@
int rows = 0;
int width = 0;
width = [[self superview] bounds].size.width;
if ([self superview])
width = [[self superview] bounds].size.width;
while (width >= 72)
{
width -= (72 + 8);