summaryrefslogtreecommitdiffstats
path: root/src/formula.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/formula.cpp')
-rw-r--r--src/formula.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/formula.cpp b/src/formula.cpp
index 11ea644..0ba3e22 100644
--- a/src/formula.cpp
+++ b/src/formula.cpp
@@ -204,7 +204,7 @@ void FormulaList::generateBitmaps(const char *path)
{
// assume the size if after the first line that does not start with
// # excluding the first line of the file.
- while (!t.eof() && (s=t.readLine()) && !s.isEmpty() && s.at(0)=='#');
+ while (!t.eof() && (s=t.readLine()) && !s.isEmpty() && s.at(0)=='#') { }
sscanf(s,"%d %d",&imageX,&imageY);
}
if (imageX>0 && imageY>0)