summaryrefslogtreecommitdiff
path: root/src/Fl_Pixmap.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2012-05-01 14:33:30 +0000
committerManolo Gouy <Manolo>2012-05-01 14:33:30 +0000
commit1229ac88080b77019995224bb4030ba8d07e7c58 (patch)
tree37d74b3e2fd1b63494efb5929dc3b531e2b7d391 /src/Fl_Pixmap.cxx
parent0d214036bcdb43339598c39ddb78d5504cf8c56e (diff)
Fix STR#2831: regression in Fl_Pixmap drawing under X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Pixmap.cxx')
-rw-r--r--src/Fl_Pixmap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Pixmap.cxx b/src/Fl_Pixmap.cxx
index 7d7fa65c7..31b90e5e3 100644
--- a/src/Fl_Pixmap.cxx
+++ b/src/Fl_Pixmap.cxx
@@ -92,7 +92,7 @@ static int start(Fl_Pixmap *pxm, int XP, int YP, int WP, int HP, int w, int h, i
return 0;
}
-int Fl_Pixmap::prepare(int XP, int YP, int WP, int HP, int cx, int cy,
+int Fl_Pixmap::prepare(int XP, int YP, int WP, int HP, int &cx, int &cy,
int &X, int &Y, int &W, int &H) {
if (w() < 0) measure();
int code = start(this, XP, YP, WP, HP, w(), h(), cx, cy, X, Y, W, H);