diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-12-14 23:55:21 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-12-14 23:55:21 +0100 |
| commit | f57b074378d69d19eb5a70e6335054bada06919a (patch) | |
| tree | 85c31d6057e78b8be874c5f476eaf9f9552a171d /src/drivers | |
| parent | f76e579ffec32aaf1095d37aaf4a54780fd20b6c (diff) | |
Fix trailing whitespace and a MSVC compiler warning
No code changes
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx b/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx index 07985d3d9..cc947399e 100644 --- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx +++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx @@ -271,7 +271,7 @@ void Fl_GDI_Graphics_Driver::set_spot(int font, int size, int X, int Y, int W, i COMPOSITIONFORM cfs; float s = scale(); cfs.dwStyle = CFS_POINT; - cfs.ptCurrentPos.x = X * s; + cfs.ptCurrentPos.x = int(X * s); cfs.ptCurrentPos.y = int(Y * s) - int(tw->labelsize() * s); // Attempt to have temporary text entered by input method use scaled font. // Does good, but still not always effective. |
