summaryrefslogtreecommitdiffstats
path: root/src/formula.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>1999-12-15 19:37:58 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>1999-12-15 19:37:58 (GMT)
commit916d6d5c6f6c9d14c4c9a636582671c81447f54a (patch)
treeb859924ab8503fed25bbfbc7ea96b72b9dee34b0 /src/formula.cpp
parenta54eecdf4b3c961ff41bc5d3ea6f21713e08f903 (diff)
downloadDoxygen-916d6d5c6f6c9d14c4c9a636582671c81447f54a.zip
Doxygen-916d6d5c6f6c9d14c4c9a636582671c81447f54a.tar.gz
Doxygen-916d6d5c6f6c9d14c4c9a636582671c81447f54a.tar.bz2
mods for doxygen-0.49-991106
Diffstat (limited to 'src/formula.cpp')
-rw-r--r--src/formula.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/formula.cpp b/src/formula.cpp
index 68e74f8..978307d 100644
--- a/src/formula.cpp
+++ b/src/formula.cpp
@@ -19,8 +19,8 @@
#include "qtbc.h"
#include <qfile.h>
-#include <qtstream.h>
-#include <qfileinf.h>
+#include <qtextstream.h>
+#include <qfileinfo.h>
#include <qdir.h>
#include "formula.h"
@@ -131,9 +131,9 @@ void FormulaList::generateBitmaps(const char *path)
t << "1 1 1 setrgbcolor" << endl; // anti-alias to white background
t << "newpath" << endl;
t << "-1 -1 moveto" << endl;
- t << x2-x1+2 << " -1 lineto" << endl;
- t << x2-x1+2 << " " << y2-y1+2 << " lineto" << endl;
- t << "-1 " << y2-y1+2 << " lineto" <<endl;
+ t << (x2-x1+2) << " -1 lineto" << endl;
+ t << (x2-x1+2) << " " << (y2-y1+2) << " lineto" << endl;
+ t << "-1 " << (y2-y1+2) << " lineto" <<endl;
t << "closepath" << endl;
t << "fill" << endl;
t << -x1 << " " << -y1 << " translate" << endl;