Fix "Copy Attributes -> Font Settings" to copy the new vars (wordspace,

underline stuff) as well.

Attempt at fixing editmode undo, but not successful. I'll create a bug-
report and assign it to Mika, because I only understand "train station"
(German saying :-) when looking at the code.
This commit is contained in:
Alexander Ewering
2005-11-11 15:19:15 +00:00
parent 6a2413cbb4
commit 3d6564740a
2 changed files with 16 additions and 10 deletions

View File

@@ -2723,6 +2723,9 @@ void copy_attr(short event)
cu1->xof= cu->xof;
cu1->yof= cu->yof;
cu1->textoncurve= cu->textoncurve;
cu1->wordspace= cu->wordspace;
cu1->ulpos= cu->ulpos;
cu1->ulheight= cu->ulheight;
if(cu1->vfont) cu1->vfont->id.us--;
cu1->vfont= cu->vfont;
id_us_plus((ID *)cu1->vfont);