package charmap.app
tags 372167 +patch
thanks
Jonathan Shipley wrote:
I think the problem is in Charmap.app. I get the same error. It
seems
that in Controller.m generateCharmap() :--
for (i = 0; i < ((blockSize / [charmapMatrix numberOfColumns]) + 1);
i++)
[charmapMatrix insertRow: 0];
Indeed. That's what I get from my backtrace too.
[charmapMatrix numberOfColumns] is null when the loop starts.
Presumably it used to work, so maybe something changed?
It looks like something changed in gnustep-gui. I believe it is this:
|2005-03-14 Richard Frith-Macdonald <[EMAIL PROTECTED]>
|
| * Source/NSMatrix.m:
| ([removeRow:]) set column counts to zero if all rows are
removed
All the rows from charmapMatrix get removed in Controller.m, line 143,
so it's left with no columns by line 156, which is the line Jonathan
pointed out. This can be fixed by adding the following lines before
line 156 in Controller.m:
if ([charmapMatrix numberOfColumns] == 0)
for (i = 0; i < 10; i++)
[charmapMatrix addColumn];
Hubert
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]