On Wed, Dec 11, 2002 at 10:44:46AM +0100, Lars Gullik Bjønnes wrote:

> This I do not quite get. Is it the function calling this that needs it
> non-const? 

We have font_info * getfontinfo(LyXFont)

and then charwidth(LyXFont)
{
        fi = getfontinfo(LyXFont);

        ...
        fi->widthcache = blah
}

....

regards
john

-- 
"Anyone who says you can have a lot of widely dispersed people hack away on
 a complicated piece of code and avoid total anarchy has never managed a 
 software project."
        - Andy Tanenbaum

Reply via email to