double dwidth = fm.getStringBounds("M", g).getWidth();\r
\r
monospacedFont =\r
- dwidth == fm.getStringBounds("|",g).getWidth()\r
- && av.charWidth == (int)dwidth;\r
+ (dwidth == fm.getStringBounds("|",g).getWidth()\r
+ && (float)av.charWidth == dwidth);\r
\r
this.renderGaps = renderGaps;\r
}\r