diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-11-18 10:03:02 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-11-19 15:59:48 +0100 |
| commit | f56d43c9f6ffe08a0d62668fec6120d9c800ed2e (patch) | |
| tree | d9a601ec41c0c2d1c1f5e6dbe9317f785a90a60b /src | |
| parent | 0f6fb2ab5a177a875881c4c54a3097b862ac273c (diff) | |
Rename private member function with trailing underscore.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Graphics_Driver.cxx | 2 | ||||
| -rw-r--r-- | src/Fl_SVG_Image.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx index 988794c34..d0b9bf370 100644 --- a/src/Fl_Graphics_Driver.cxx +++ b/src/Fl_Graphics_Driver.cxx @@ -210,7 +210,7 @@ void Fl_Graphics_Driver::cache_size(Fl_Image *img, int &width, int &height) width = (width+1) * scale(); height = (height+1) * scale(); } - img->cache_size(width, height); + img->cache_size_(width, height); } /** Draws an Fl_Pixmap object using this graphics driver. diff --git a/src/Fl_SVG_Image.cxx b/src/Fl_SVG_Image.cxx index 6b241f841..8b9f01ce5 100644 --- a/src/Fl_SVG_Image.cxx +++ b/src/Fl_SVG_Image.cxx @@ -235,7 +235,7 @@ void Fl_SVG_Image::resize(int width, int height) { } -void Fl_SVG_Image::cache_size(int &width, int &height) { +void Fl_SVG_Image::cache_size_(int &width, int &height) { if (proportional) { // Keep the rasterized image proportional to its source-level width and height // while maintaining it large enough to allow image tiling. |
