From e7b9e77ba5ab877eb5f8b56da7fe1bf7b0aac3aa Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 9 Aug 2016 15:20:54 +0000 Subject: 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 --- src/Fl_Pixmap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Pixmap.cxx') 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; -- cgit v1.2.3