Angus Leeming <[EMAIL PROTECTED]> writes:

> Ha! Mine were easier still. I just cut and pasted them from Asger's
> patch 
> 
> Committing these now.
> 

Your Windows compilers are definitely more lenient than gcc3.3
on Mac. ;-) 
I had to add an extra "()" in the following line, too,
to get it to compile.

Index: src/lyx_main.C
==============
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyx_main.C,v
retrieving revision 1.195
diff -u -p -r1.195 lyx_main.C
--- src/lyx_main.C      19 Jan 2005 14:17:36 -0000      1.195
+++ src/lyx_main.C      20 Jan 2005 15:03:59 -0000
@@ -401,7 +401,7 @@ void LyX::init(bool gui)
 #if !defined (USE_POSIX_PACKAGING)
        // Add the directory containing the LyX executable to the path
        // so that LyX can find things like reLyX.
-       if (package.build_support().empty())
+       if (package().build_support().empty())
                prependEnvPath("PATH", package.binary_dir());
                                          ^^^
 #endif


Reply via email to