Luca Olivetti wrote:
En/na Marc Weustink ha escrit:
Luca Olivetti wrote:
En/na darekm ha escrit:
Hi
Attached patch repair TGtkWidgetSet.DrawText under GTK2 (I receive
crush). Problem was connected with WordWrap.
Could someone apply this 3 months old patch (or a similar one)?
I was suffering the same crash until I found it and applied to my
local copy.
The problem is that I've the idea that this patch is a workaround for
something and not a fix. And that is what I also wrote in my response.
After that I forgot about it.
As i look at it now it still has serious flaws, to much to comment now.
Please add the patch to mantis and assign it to me, then I'll try to
have a look again.
I opened a bug but I cannot assign it:
http://www.freepascal.org/mantis/view.php?id=9159
Anyhow I prefer an ugly workaround to a crash ;-)
I don't share that preference.
The point is with these kind of projects where a lot of ppl are
submitting parts of code, there is a big chance that someone doesn't
understand the full code. So when another but appears, one is tempted to
make a fix on top of that, without touching the underlying code.
The result if such patches usually is a pile of spagetti where noone
understands what the real functionlity was.
I prefer to solve problems at the source, even it means that will take
longer
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives