diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Graphics_Driver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx index 4a3b39711..7545bc261 100644 --- a/src/Fl_Graphics_Driver.cxx +++ b/src/Fl_Graphics_Driver.cxx @@ -207,8 +207,8 @@ void Fl_Graphics_Driver::cache_size(Fl_Image *img, int &width, int &height) width = width * scale(); height = height * scale(); } else { - width = (width+1) * scale() - 1; - height = (height+1) * scale() - 1; + width = (width+1) * scale(); + height = (height+1) * scale(); } } |
