Initialise variable in FormPreferences::Colors::Colors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2398
a592a061-630c-0410-9148-
cb99ea01b6c8
+2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * FormPreferences.C (Color c-tor): initialise modifiedXformsPrefs.
+
+2001-07-30 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * GUIRunTime.C (processEvents, runTime): small code rearrangement.
+
2001-08-01 John Levon <moz@compsoc.man.ac.uk>
* FormMathsPanel.C:
FormPreferences::Colors::Colors(FormPreferences & p)
- : parent_(p)
+ : modifiedXformsPrefs(false), parent_(p)
{}
void GUIRunTime::processEvents()
{
- XEvent ev;
-
if (fl_do_forms() == FL_EVENT) {
lyxerr << "LyX: This shouldn't happen..." << endl;
+ XEvent ev;
fl_XNextEvent(&ev);
}
}
void GUIRunTime::runTime()
{
- XEvent ev;
while (!finished) {
if (fl_check_forms() == FL_EVENT) {
lyxerr << "LyX: This shouldn't happen..." << endl;
+ XEvent ev;
fl_XNextEvent(&ev);
}
}