#include "lyxrc.h"
#include "gettext.h"
#include "lyx_gui_misc.h"
-#if FL_REVISION < 89
+#if FL_REVISION < 89 || (FL_REVISION == 89 && FL_FIXLEVEL < 5)
#include "lyxlookup.h"
#endif
#include "bufferlist.h"
#include "language.h"
#include "ColorHandler.h"
#include "frontends/GUIRunTime.h"
-#include "frontends/xforms/Color.h"
+#include "frontends/xforms/xform_helpers.h" // for XformColor
using std::endl;
delete lyxserver;
lyxserver = 0;
delete lyxViews;
-#if FL_REVISION < 89
+#if FL_REVISION < 89 || (FL_REVISION == 89 && FL_FIXLEVEL < 5)
CloseLyXLookup();
#endif
}
// This is probably as good a time as any to map the xform colours,
// should a mapping exist.
{
- string filename = user_lyxdir + "/preferences.xform";
+ string filename = AddName(user_lyxdir, "preferences.xform");
XformColor::read( filename );
}