diff options
Diffstat (limited to 'src/XPM.cxx')
| -rw-r--r-- | src/XPM.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/XPM.cxx b/src/XPM.cxx index b3c9b338f..c2b308acb 100644 --- a/src/XPM.cxx +++ b/src/XPM.cxx @@ -47,7 +47,7 @@ ColourDesired XPM::ColourFromCode(int ch) const {  void XPM::FillRun(Surface *surface, int code, int startX, int y, int x) {  	if ((code != codeTransparent) && (startX != x)) { -		PRectangle rc(startX, y, x, y+1); +		PRectangle rc = PRectangle::FromInts(startX, y, x, y + 1);  		surface->FillRectangle(rc, ColourFromCode(code));  	}  } | 
