mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
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:
parent
87874e0737
commit
efe1aa64f3
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
2008-02-09 12:15-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* GormCore/GormClassEditor.m
|
* GormCore/GormClassEditor.m
|
||||||
|
|
|
@ -260,7 +260,8 @@
|
||||||
int rows = 0;
|
int rows = 0;
|
||||||
int width = 0;
|
int width = 0;
|
||||||
|
|
||||||
width = [[self superview] bounds].size.width;
|
if ([self superview])
|
||||||
|
width = [[self superview] bounds].size.width;
|
||||||
while (width >= 72)
|
while (width >= 72)
|
||||||
{
|
{
|
||||||
width -= (72 + 8);
|
width -= (72 + 8);
|
||||||
|
|
Loading…
Reference in a new issue