Branch: Tag:

2001-07-16

2001-07-16 00:01:01 by Martin Nilsson <mani@lysator.liu.se>

Get top id object by using root_id.

Rev: server/modules/graphics/graphic_text.pike:1.271

1:   // This is a roxen module. Copyright © 1996 - 2000, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.270 2001/07/12 23:08:02 nilsson Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.271 2001/07/16 00:01:01 nilsson Exp $";      #include <module.h>   inherit "module";
1010:   {    if((c-" ")=="") return "";    -  while( id->misc->orig ) -  id = id->misc->orig; +  id = id->root_id;       c=fix_text(c,arg,id);    mapping p=mk_gtext_arg(arg,id);