diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-08-09 15:20:54 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-08-09 15:20:54 +0000 |
| commit | e7b9e77ba5ab877eb5f8b56da7fe1bf7b0aac3aa (patch) | |
| tree | 1878338752665890d19922fd711639a4aafe00ca /src/Fl_Pixmap.cxx | |
| parent | 78d853891c145776e19e412b4956fed87a33bf60 (diff) | |
Fix typos, separate local variables of image scaling algorithms.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Pixmap.cxx')
| -rw-r--r-- | src/Fl_Pixmap.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Pixmap.cxx b/src/Fl_Pixmap.cxx index 1b17aa9f4..68a70f50c 100644 --- a/src/Fl_Pixmap.cxx +++ b/src/Fl_Pixmap.cxx @@ -204,7 +204,7 @@ Fl_Image *Fl_Pixmap::copy(int W, int H) { sprintf(new_info, "%d %d %d %d", W, H, ncolors, chars_per_pixel); - // Figure out Bresenheim step/modulus values... + // Figure out Bresenham step/modulus values... xmod = w() % W; xstep = (w() / W) * chars_per_pixel; ymod = h() % H; |
