[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Equation display styles and context-sensitive rendering
From: |
Ludovic Courtès |
Subject: |
Re: Equation display styles and context-sensitive rendering |
Date: |
Tue, 19 Dec 2006 14:05:26 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Hi,
address@hidden (Jeff Kingston) writes:
> + StyleCopy(new_style, *style);
> + context_key(context(new_style)) = key;
> + context_value(context(new_style)) = value;
> + context_previous(context(new_style)) = &context(*style);
>
> Unless I've missed something, there is a bug here: I don't
> see any creation of a new context object, this code overwrites
> the object at the front of the list rather than adding to the
> front of the list.
Nope, that's ok: the `ocontext' field of structure `STYLE' is of type
`CONTEXT', not `CONTEXT *'.
Thanks,
Ludovic.