diff options
| author | Manolo Gouy <Manolo> | 2010-12-15 13:54:34 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-12-15 13:54:34 +0000 |
| commit | ff1d7b6dad3d6fb3301a1d5b55a2febc2d3bba49 (patch) | |
| tree | 83832249d68ac2fed63bf2dc046403ac682559a5 /src/fl_font_x.cxx | |
| parent | 895f80a0c7a1e9c6fea5c7f1b8d1ea39c9ca1123 (diff) | |
Removed compilation warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_font_x.cxx')
| -rw-r--r-- | src/fl_font_x.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_font_x.cxx b/src/fl_font_x.cxx index 26a07d66a..8ac870d79 100644 --- a/src/fl_font_x.cxx +++ b/src/fl_font_x.cxx @@ -160,8 +160,8 @@ static const char *find_best_font(const char *fname, int size) { name = namebuffer; ptsize = size; } else if (!ptsize || // no fonts yet - thissize < ptsize && ptsize > size || // current font too big - thissize > ptsize && thissize <= size // current too small + (thissize < ptsize && ptsize > size) || // current font too big + (thissize > ptsize && thissize <= size) // current too small ) { name = thisname; ptsize = thissize; |
