Found a crasher in editing text; load file with text, enter editmode for

it and reload. I could fix the crash quickly, but it still gives not freed
memory errors.

More important; this code is VERY BAD! Not sure who added all this *goto*
stuff, but it's not acceptable code that way... (kernel, font.c)

The hacks in editfont.c are very bad too. I really hope Alexander and/or
Mika will clean up before we officially release!
This commit is contained in:
Ton Roosendaal
2005-10-11 19:09:27 +00:00
parent 5c31e9f2b5
commit 63e02e0436

View File

@@ -701,7 +701,9 @@ struct chartrans *text_to_curve(Object *ob, int mode)
ascii = mem[i];
info = &(cu->strinfo[i]);
vfont = which_vfont(cu, info);
if(vfont==NULL) break;
// Find the character
while(che)
{