Achhh! This is really brain dead. Thanks for pointing this out, John.
On Friday 30 March 2001 12:45, John Levon wrote:
> On Fri, 30 Mar 2001, John Levon wrote:
>
> > 2) If I choose xfig format, then browse, then "home", then select a.fig
and click OK,
> > the file entry will be "<unknown_path>"
>
> I don't know why you changed this ??
>
>
> Index: ControlExternal.C
> ===================================================================
> RCS file:
/usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/ControlExternal.C,v
> retrieving revision 1.1
> diff -u -p -r1.1 ControlExternal.C
> --- ControlExternal.C 2001/03/30 09:51:44 1.1
> +++ ControlExternal.C 2001/03/30 11:33:41
> @@ -155,8 +155,8 @@ string const ControlExternal::Browse(str
>
> string p = result.second;
>
> - buf = MakeRelPath(input, buf2);
> - current_path = OnlyPath(input);
> + buf = MakeRelPath(p, buf2);
> + current_path = OnlyPath(p);
> once = 1;
>
> if (contains(input, "#") ||
>
>
> thanks
> john