diff options
Diffstat (limited to 'win32/PlatWin.cxx')
| -rw-r--r-- | win32/PlatWin.cxx | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 61e8b34d5..baa2e9ef5 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -1611,7 +1611,7 @@ XYPOSITION SurfaceD2D::WidthText(Font &font_, const char *s, int len) {  			pTextLayout->Release();  		}  	} -	return int(width + 0.5); +	return width;  }  void SurfaceD2D::MeasureWidths(Font &font_, const char *s, int len, XYPOSITION *positions) { @@ -1754,7 +1754,7 @@ XYPOSITION SurfaceD2D::AverageCharWidth(Font &font_) {  			pTextLayout->Release();  		}  	} -	return int(width + 0.5); +	return width;  }  void SurfaceD2D::SetClip(PRectangle rc) { | 
